Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that reads a string from input and prints Hello, ! where is filled in with the string that was read in. why
Write a program that reads a string from input and prints "Hello, !" where is filled in with the string that was read in. why i get it wrong?
1 # put your python code here 2 Hello input) 3 name = input() 4 combined Hello + + name + "!" 5 print(combined) 6 7 OOO Test input Gerald Test output: File "jailed_code", line 3 'name' = input() SyntaxError: can't assign to literal 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