So I'm creating a program which should be able to read 8 separate text files and gather the information from those files into a single files.
First file contains information about the atheletes like this:
number;name;division.
The other files contain results from individual sport events like this:
number;result.
The program should be able to gather all the information about the athletes and put into a single file like this:
number;name;division;event1;event2...;event7.
The number is atheletes participant number and all other information should be "linked" to that number.
I'm really confused whether to use dict
or list
or both to handle and store the information from the text files.
The program is a lot more complex than explained above but I can work out the details myself. Also the allowed import libraries are math
, random
and time
. I know these are pretty vague instructions but like I said I don't need a complete, functional program but rather guidelines how to get started. Thanks!