Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import datetime
- class Producto:
- def __init__(self, marca, nombre, link, precios):
- self.marca = marca
- self.nombre = nombre
- self.link = link
- self.precios = precios
- def __str__(self):
- return "\nMarca: " + self.marca+"\nNombre: " + self.nombre+"\nLink: " + self.link+"\nPrecios: "+str(self.precios)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement