Write a Python program to display basic details about a pet and its favorite activity.
pet_name
and assign it a name (e.g., "Buddy"
).pet_type
and assign it the type of pet (e.g., "dog"
).pet_age
and assign it the pet’s age (e.g., 4
).favorite_activity
and assign it the pet’s favorite activity (e.g., "chasing balls"
).print
function to display the following:"My pet's name is [pet_name], and it is a [pet_type]."
"It is [pet_age] years old."
"It loves [favorite_activity]!"
We’re always looking for international STEM educators to join our team. If you are interested, please send us a mail and we’ll get back to you!
If you have any questions, kindly send us a mail. Don’t forget to follow and like all our social accounts to get updates on competitions!