def make_list():
    pet_list = []
print('Enter data for three pets.')
for count in range(1, 4):
    print('Pet number ' + str(count) + ':')
name = input('Enter the pet name:')
animal = input('Enter the pet animal type:')
age = input('Enter the pet age:')
print() 
pet = pet_class.PetName(name, animal, age)
pet_list.append(pet)
return pet_list
return statement in for loops