Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started