MAI/LabWork01/Shop.py

11 lines
610 B
Python
Raw Normal View History

class Shop:
def __init__(self, store_area, items_available, daily_customer_count, store_sales):
self.store_area = store_area
self.items_available = items_available
self.daily_customer_count = daily_customer_count
self.store_sales = store_sales
def display_shop(self):
print('Площадь: {}. Кол-во товаров: {}. Кол-во посетителей в день: {}. '
'Кол-во покупок: {}'.format(self.store_area, self.items_available,
self.daily_customer_count, self.store_sales))