Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loops
#1
Please help with this and try to make it as simple as possible.
Write a program to store information about the people in your class. First, it should ask how many people you want to collect data for. The program should use a loop to ask for each person’s name, favorite band, and favorite food. The data should be stored in a file with each value separated by a comma and with each person’s details on a new line.
The program should then close the file, reopen it for reading and print out all the records in the file.
Reply
#2
What have you tried?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020