Question: in python First, read strings fav _ drink 1 and fav _ drink 2 from input and assume fav _ drink 1 is always longer
in python First, read strings favdrink and favdrink from input and assume favdrink is always longer than favdrink Then, output the following, all separated by spaces:
The value of favdrink
'has'
The length of favdrink minus the length of favdrink
'more characters than'
The value of favdrink
Click here for example
Ex: If the input is:
espresso
milk
then the output is:
espresso has more characters than milk
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
