Question: 3 . 1 5 LAB: Longest string Write a program that takes two strings and outputs the longer string, followed by is longer than,
LAB: Longest string
Write a program that takes two strings and outputs the longer string, followed by is longer than", and the shorter string. If the strings have
the same length then output the strings followed by "are the same length".
Ex If the input is:
almond
pistachio
the output is:
pistachio is longer than almond
In python please
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
