Answered step by step
Verified Expert Solution
Link Copied!

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?
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

i need correct answrrs 3 8 2

Answered: 1 week ago