Advertisement
teslariu

cliente

Apr 21st, 2022
1,106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.63 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. url = "http://localhost:5000/alumno"
  4.  
  5. while True:
  6.     print("""
  7.    Administración de alumnos:
  8.    =========================
  9.    1. Agregar un alumno
  10.    2. Modificar datos de un alumno
  11.    3. Listar alumnos
  12.    4. Eliminar un alumno
  13.    5. Salir
  14.    """)
  15.  
  16.     opcion = input("Seleccione una opcion:")
  17.     if opcion == "1":
  18.         pass
  19.  
  20.     elif opcion == "2":
  21.         pass
  22.  
  23.     elif opcion == "3":
  24.         pass
  25.  
  26.     elif opcion == "4":
  27.         pass
  28.  
  29.     elif opcion == "5":
  30.         print("Cerrando conexión con el servidor...")
  31.         break
  32.  
  33.     else:
  34.         print("Opción incorrecta")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement