0
Ejercicio Pytho
No puedo hacer este ejercicio, si alguien me pudiera ayudar le agradecería mucho Escribe un programa que le pida al usuario una entrada y la muestre en la pantalla. Continuarás trabajando en este código después de la próxima lección. Tarea Completa el código para pedirle al usuario una entrada, guárdala en la variable name y muéstrala en la pantalla.
7 odpowiedzi
+ 3
I finally got it, it was like this:
name = input()
print(name)
+ 2
You still need to ask the user for the input. Right now you're hard coding it, but there should be a hint in the assignment about which function you should use to get that input the problem is asking about.
+ 1
What is your attempt so far?
+ 1
I type this to solve the problem:
name = ("Tom")
print("hello", name)
and I get this response: The error occurs because Tom must be in quotes
name = "Tom"
+ 1
Right, so did you remove the parethesis and run it again? You're on track.
0
I can't do this exercise, if someone could help me I would really appreciate it
Write a program that asks the user for input and displays it on the screen. You will continue working on this code after the next lesson.
Assignment
Complete the code to ask the user for input, save it in the variable name and display it on the screen.
0
still not working