-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzoo_goods
42 lines (32 loc) · 1.26 KB
/
zoo_goods
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
class pet_goods:
def __init__(self, name_of_shop):
self.name_of_shop = name_of_shop
def display_info(self):
print("Зоомагазин", self.name_of_shop)
class pet_animals(pet_goods):
def __init__(self, kind_of_animals):
self.kind_of_animals=kind_of_animals
class pet_cats(pet_animals):
def __init__(self, name_of_cats_breeds):
self.name_of_cats_breeds=name_of_cats_breeds
class pet_dogs(pet_animals):
def __init__(self, name_of_dogs_breeds):
self.name_of_dogs_breeds=name_of_dogs_breeds
class pet_birds(pet_animals):
def __init__(self, name_of_birds_breeds):
self.name_of_birds_breeds=name_of_birds_breeds
class pet_rodents(pet_animals):
def __init__(self, name_of_rodents_breeds):
self.name_of_rodents_breeds=name_of_rodents_breeds
class pet_items(pet_goods):
def __init__(self, kind_of_items):
self.kind_of_items=kind_of_items
class pet_stern(pet_items):
def __init__(self, name_of_stern):
self.name_of_stern=name_of_stern
class pet_drus(pet_items):
def __init__(self, name_of_drus):
self.name_of_drus=name_of_drus
class pet_implements(pet_items):
def __init__(self, name_of_implements):
self.name_of_implements=name_of_implements