Advertisement
Aleksandrovno

Untitled

May 11th, 2020
2,233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. respuesta = int(input ("Ingrese un numero entre 1 y 5" ))
  2. if (respuesta == 1 ):
  3.     print("uno")
  4.         elif (respuesta == 2 ):
  5.                 print("dos")
  6.                     elif (respuesta == 3 ):
  7.                         print("tres")
  8.                                 elif (respuesta == 4 ):
  9.                                     print("cuatro")
  10.                                         elif(respuesta == 5 ):
  11.                                             print("cinco")
  12. else:
  13.                         print("Error, numero ingresado fuera del rango")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement