+ 1
how to complete a code to ask the user for input, store it in the NAME variable and display it on the screen?
input example expected output name = "Tom" Tom name = "Bob" Bob
3 Antworten
+ 4
Mahmoud Shawqat ,
the empty quotes ("") as argument in the input() function are not required and can be removed.
+ 3
you should use input function ,
user_input = input("")
print(user_input)
+ 3
Ahmed Eneji Emmanuel Sunday (Ansah Godwill) This sounds like a practice challenge from Intro to Python. You should post your code attempt first if you need help. As per community forum guidelines we do not provide ready made codes but will help you debug your code 👍