+ 1
The task that i Can't solve with m'y answers 👇
# Ask the user for input and store it in a variable name = "tom" name = "alice" name = "bob" # Display the user input on the screen name =input ("tom") name = input ("alice") name = input ("bob")
2 Réponses
+ 5
You use the input() to ask the use to type a value and use the print() to display the value on the screen
+ 3
Pythcattt"#lr) ,
it may be a bit confusing to see multiple names in this exercise. these are only several possible samples.
> 1. step: but we only have to get *1 input* from the user and store it to a variable.
> 2. step: to output the content of the variable we need to use the print() function. put the variable name (without any quotationmarks) inside the parenthesis of the print() function