class Inventario: def __init__(self): self.productos = []
from producto import Producto
if opcion == "1": nombre = input("Ingrese el nombre del producto: ") descripcion = input("Ingrese la descripcion del producto: ") precio = float(input("Ingrese el precio del producto: ")) cantidad = int(input("Ingrese la cantidad del producto: ")) ultimate python de cero a programador experto descargar new
from inventario import Inventario from producto import Producto class Inventario: def __init__(self): self