Write a Python program to display information about a child’s favorite animal.
animal_name
and assign it the name of the animal (e.g., "elephant"
).animal_sound
and assign it the sound the animal makes (e.g., "trumpet"
).animal_habitat
and assign it the place where the animal lives (e.g., "forest"
).animal_fact
and assign it a fun fact about the animal (e.g., "Elephants have very strong trunks."
).print
function to display the following:"My favorite animal is the [animal_name], and it makes a [animal_sound] sound."
"It lives in the [animal_habitat]."
"Did you know? [animal_fact]"
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!