Generation

generate functionSat, 22 Apr 2023

crear un menu para vincular los sigientes arcvhivos clientes.py, provedores.py, stock.py y factura.py

def menu(): print("1. Clientes") print("2. Proveedores") print("3. Stock") print("4. Factura") print("5. Salir") opcion=input() while opcion not in ['1', '2', '3', '4', '5']: print("\nIntroduce una opcion valida: ") opcion=input() if opcion=='1': clientes() elif opcion=='2': proveedores() elif opcion=='3': stock() elif opcion=='4': factura() elif opcion=='5': exit()

Want to kickstart your project?Use the new AI Studio to create your code