from task_1_8_1 import Pet

pets = [
    {
    "name": "Сем",
    "gender": "Мальчик",
    "age": 2
    }
    ,
    {
    "name": "Борис",
    "gender": "Мальчик",
    "age": 2
    }
]

for pet in pets:
    pet_obj = Pet()
    pet_obj.init_from_dict(pet)
    print( pet_obj.name, pet_obj.gender, pet_obj.age, sep = "\n" )
    


6d0c2ffae4128249c6efb85f811ea6cbbab54a1c
<mask token>

<mask token>
for pet in pets:
    pet_obj = Pet()
    pet_obj.init_from_dict(pet)
    print(pet_obj.name, pet_obj.gender, pet_obj.age, sep='\n')

<mask token>
pets = [{'name': 'Сем', 'gender': 'Мальчик', 'age': 2}, {'name': 'Борис',
    'gender': 'Мальчик', 'age': 2}]
for pet in pets:
    pet_obj = Pet()
    pet_obj.init_from_dict(pet)
    print(pet_obj.name, pet_obj.gender, pet_obj.age, sep='\n')

from task_1_8_1 import Pet
pets = [{'name': 'Сем', 'gender': 'Мальчик', 'age': 2}, {'name': 'Борис',
    'gender': 'Мальчик', 'age': 2}]
for pet in pets:
    pet_obj = Pet()
    pet_obj.init_from_dict(pet)
    print(pet_obj.name, pet_obj.gender, pet_obj.age, sep='\n')

from task_1_8_1 import Pet

pets = [
    {
    "name": "Сем",
    "gender": "Мальчик",
    "age": 2
    }
    ,
    {
    "name": "Борис",
    "gender": "Мальчик",
    "age": 2
    }
]

for pet in pets:
    pet_obj = Pet()
    pet_obj.init_from_dict(pet)
    print( pet_obj.name, pet_obj.gender, pet_obj.age, sep = "\n" )
    

