Untitled
unknown
plain_text
2 months ago
274 B
5
Indexable
class Pc: def __init__(self,brand,type,price,materijal=None): self.brand = brand self.type = type self.price = price if __name__ == "__main__": komp = Pc("Asus","Laptop","999") print(komp.brand,komp.type,komp.price)
Editor is loading...
Leave a Comment