class Something:
def __init__(self, price, qty):
self.price= price
self.qty= qty
def Balance(self):
return self.price*self.qty
leptops = Something(55480, 6)
monitors = Something(21830, 3)
mouses = Something(411, 11)
keyboards = Something(290,5)
print("Необходимо выделить: " + str(leptops.Balance()+ monitors.Balance() + mouses.Balance() + keyboards.Balance()))