Question: Assign variable fav _ flower with 'lupine' and read string least _ fav _ flower from input. Output the following: ' My favorite flower' followed

Assign variable fav_flower with 'lupine' and read string least_fav_flower from input. Output the following:
'My favorite flower' followed by fav_flower, then 'has' followed by the length of fav_flower, then 'characters', all separated by
spaces.
'My least favorite flower' followed by least_fav_flower, then 'has' followed by the length of least_fav_flower, then 'characters',
all separated by spaces.
Click here for example
Ex: If the input is calendula, then the output is:
My favorite flower lupine has 6 characters
My least favorite flower calendula has 9 characters
Note: print (a,b,c) outputs variables a,b, and c separated by spaces in one line.
 Assign variable fav_flower with 'lupine' and read string least_fav_flower from input.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!