Question 2: Input

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

  • Start by asking for the child’s name and store it in a variable called name.
  • Ask for the child’s favorite sport and store it in a variable called favorite_sport.
  • Ask for the child’s favorite sports team and store it in a variable called favorite_team.
  • Ask for the child’s favorite sports player and store it in a variable called favorite_player.
  • Finally, print a message that includes all the collected information in an exciting sentence, like this: “Hi [name]! Your favorite sport is [favorite_sport], you cheer for [favorite_team], and your favorite player is [favorite_player]!”
Write what you are looking for, and press enter to begin your search!