10 Nov Markham Saturday 9:30 Python Homework 11.09.
Question 1:
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 pickle file named info.pkl
Question 2:
Write a program to read all the information from info.pkl file and print out the the information in one line.
example output:
Tony is 12 years old. His favorite color is blue and his favorite food is pizza.
Sorry, the comment form is closed at this time.