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

Read string fav_drink from input, and output the following, all separated by spaces:
'The last character of'
The value of fav_drink
'is'
The last character of fav_drink
Click here for example
Note: print (a,b,c) outputs variables a,b, and c separated by spaces in one line.
 Read string fav_drink from input, and output the following, all separated

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!