TORONTO KIDS COMPUTER CLUB | Monday 19:00 Python Practice – 23.03.13
21864
post-template-default,single,single-post,postid-21864,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Monday 19:00 Python Practice – 23.03.13

18 Mar Monday 19:00 Python Practice – 23.03.13

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 text file called myinfo.txt, each one on a separate line.


Question 2:

Write a program that asks the user to enter his/her favorite book and add the answer into the myinfo.txt created in the Question 1, make sure it is added into a separate line.

No Comments

Sorry, the comment form is closed at this time.