# pets = ['dog', 'cat', 'dog', 'goldfish', 'cat', 'rabbit', 'cat']
# print(pets)

# while 'cat' in pets:
#    pets.remove('cat')

# print(pets)

def describe_pet(animal_type, pet_name):
    """Display the pet's informations"""
    print(f"\nI have a {animal_type}.")
    print(f"My {animal_type}'s name is {pet_name.title()}.")


describe_pet('hamster', 'harry')
describe_pet('dog', 'willie')

describe_pet(animal_type='hamster', pet_name='harry')

# Error case
# describe_pet()

# pets = ['dog', 'cat', 'dog', 'goldfish', 'cat', 'rabbit', 'cat']
# print(pets)

# while 'cat' in pets:
#    pets.remove('cat')

# print(pets)

def describe_pet(animal_type, pet_name):
    """Display the pet's informations"""
    print(f"\nI have a {animal_type}.")
    print(f"My {animal_type}'s name is {pet_name.title()}.")


describe_pet('hamster', 'harry')
describe_pet('dog', 'willie')

describe_pet(animal_type='hamster', pet_name='harry')

# Error case
# describe_pet()

# pets = ['dog', 'cat', 'dog', 'goldfish', 'cat', 'rabbit', 'cat'] # print(pets) # while 'cat' in pets: #    pets.remove('cat') # print(pets) Display the pet's informations # Error case # describe_pet()