Question: Python: Read string fav _ drink from input, and output the following, all separated by spaces: 'The drink' The value of fav _ drink 'has'

Python: Read string fav_drink from input, and output the following, all separated by spaces:
'The drink'
The value of fav_drink
'has'
The length of fav_drink
'characters'
Ex: If the input is milkshake, then the output is:
The drink milkshake has 9 characters
Note: print(a, b, c) outputs variables a, b, and c separated by spaces in one line.

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!