title: Reading data from multiple csv-text files into a single text file using python
body: <p>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.</p>
  
  <p>First file contains information about the atheletes like this:</p>
  
  <pre><code>number;name;division.
  </code></pre>
  
  <p>The other files contain results from individual sport events like this:</p>
  
  <pre><code>number;result.
  </code></pre>
  
  <p>The program should be able to gather all the information about the athletes and put into a single file like this:</p>
  
  <pre><code>number;name;division;event1;event2...;event7.
  </code></pre>
  
  <p>The number is atheletes participant number and all other information should be "linked" to that number. </p>
  
  <p>I'm really confused whether to use <code>dict</code> or <code>list</code> or both to handle and store the information from the text files.</p>
  
  <p>The program is a lot more complex than explained above but I can work out the details myself. Also the allowed import libraries are <code>math</code>, <code>random</code> and <code>time</code>. 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!</p>