-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
34 lines (25 loc) · 781 Bytes
/
Copy pathmain.py
File metadata and controls
34 lines (25 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from Introduccion.menu_intro import menu_intro
from PrimerProyecto.menupp import menu_pp
from SegundoProyecto.menusp import menu_sp
def main():
aux= True
while aux:
print("Seleccione una opcion:")
print("1. Introduccion")
print("2. Primer Proyecto (pequeños ejercicios)")
print("3. Segundo Proyecto")
print("5. Salir")
opcion= input("Ingrese el numero de la opcion deseada: ")
opcion= int (opcion)
if opcion == 1:
menu_intro()
elif opcion == 2:
menu_pp()
elif opcion == 3:
menu_sp()
elif opcion == 5:
aux= False
else:
print("Opcion no valida. Intente de nuevo.")
if __name__== "__main__":
main()