TORONTO KIDS COMPUTER CLUB | Wednesday 17:00 Python Practice – 22.06.29.
20796
post-template-default,single,single-post,postid-20796,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

Wednesday 17:00 Python Practice – 22.06.29.

03 Jul Wednesday 17:00 Python Practice – 22.06.29.

uestion 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.