Write a Python program to display fun details about the cartoon characters Tom and Jerry.
tom
and assign it the type of animal Tom is (e.g., "cat"
).jerry
and assign it the type of animal Jerry is (e.g., "mouse"
).favorite_activity
and assign it the activity they are always doing (e.g., "chasing each other"
).fun_fact
and assign it a fun fact about the cartoon (e.g., "Tom and Jerry cartoons have been entertaining kids since 1940!"
).print
function to display the following:"Tom is a [tom] and Jerry is a [jerry]."
"They are always [favorite_activity]."
"Did you know? [fun_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!