6 lines
No EOL
227 B
Python
6 lines
No EOL
227 B
Python
def describe_pet(pet_name, animal_type='dog'):
|
|
"""Display information about a pet."""
|
|
print(f"\nI have a {animal_type}.")
|
|
print(f"My {animal_type}'s name is {pet_name.title()}.")
|
|
|
|
describe_pet(pet_name='willie') |