0
print ("ingresa tu nombre") saludo = "Hola" nombre = input () print(saludo +" "+ nombre) print ("ingresa tu edad") edad = inpu
print ("ingresa tu nombre") saludo = "Hola" nombre = input () print(saludo +" "+ nombre) print ("ingresa tu edad") edad = input() if edad == (int(18)): print("eres mayor de edad") else: print("eres menor de edad") print("ingresar contraseña") contraseña = input() if contraseña == ("contraseña"): print("contraseña correcta") print("puede continuar ejecutando el codigo") else: print("contraseña incorrecta") print("el programa se cerrará")
5 Réponses
+ 1
you already have three posts with the same problem. Please read the answers there
+ 1
yes for all the inputs. you have to separate all inputs with a row change. it reads so in the window
0
no, i have another problema
0
when i play the code the app dropp me a text
- 1
what do you want to ask?
prefer to post you code in playground and then share it's link here.
I think you are doing same mistake as you were doing earlier.
https://www.sololearn.com/Discuss/1380898/?ref=app