0

Please hele me with this :

Complete the code to ask the user for input, store it in the name variable, and display it on the screen. Input Example name = "Tom" Tom name = "Bob" Bob I did this and still showing incorrect : # Ask the user for input and store it in a variable name = input("Tom") # Display the user input on the screen print("name")

12th Jan 2025, 3:36 PM
Basanta Shrestha
1 Antwort
+ 2
Basanta Shrestha Anything inside quotes become string in python. So remove the quotes inside print() statement.
12th Jan 2025, 3:52 PM
Gulshan Mahawar
Gulshan Mahawar - avatar