Question 3: Input

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

  • Start by asking for the child’s name and store it in a variable called name.
  • Ask for the child’s favorite book title and store it in a variable called favorite_book.
  • Ask for the child’s favorite book character and store it in a variable called favorite_character.
  • Ask for the child’s favorite part of the book and store it in a variable called favorite_part.
  • Finally, print a message that includes all the collected information in an engaging sentence, like this: “Hi [name]! Your favorite book is [favorite_book], you love the character [favorite_character], and your favorite part is [favorite_part]!”
Write what you are looking for, and press enter to begin your search!