Question: Read string fav _ fruit from input, and output the following, all separated by spaces: ' My favorite fruit' The value of fav _ fruit
Read string favfruit from input, and output the following, all separated by spaces:
My favorite fruit'
The value of favfruit
is
The length of favfruit
'characters long'
grad Click here for example
Ex: If the input is banana, then the output is:
My favorite fruit banana is characters long
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
