Question 1: Input

Write a Python program to collect and display a child’s favorite things.

  • Start by asking for the child’s name and store it in a variable called name.
  • Ask for the child’s favorite color and store it in a variable called favorite_color.
  • Ask for the child’s favorite animal and store it in a variable called favorite_animal.
  • Ask for the child’s favorite food and store it in a variable called favorite_food.
  • Finally, print a message that includes all the collected information in a friendly sentence, like this: “Hi [name]! Your favorite color is [favorite_color], you love [favorite_animal]s, and your favorite food is [favorite_food]!”
Write what you are looking for, and press enter to begin your search!