Question: Jump to level 1 String name 1 _ input is read from input. String str 1 contains a special character. Modify str 1 so the
Jump to level
String nameinput is read from input. String str contains a special character. Modify str so the program outputs nameinput
followed by can't eat avocados.
Ex: If the input is Ray, then the output is:
Ray can't eat avocados
nameinput input
str 'can't eat avocados'
printnameinput, str # Output nameinput followed by str separated by a whitespace
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
