03 Jun Monday Online Python Homework 05.30.
Write a program that asks the user to enter his/her name, age, favorite color, and favorite food. Have the program save all four items to a text file, each one on a separate line.
Write a program that asks the user to enter his/her favorite book and add the answer into the text file created in the Question 1, make sure it is added into a separate line.
Write a program to read all the information from the text file and print out the the information in one line.
Tony is 12 years old. His favorite color is blue, favorite food is pizza and favorite book is “Diary of a Wimpy Kid”.