title: Apply 'for' loop by words
body: <p>I have the following .txt file:</p>
  
  <p><a href="https://drive.google.com/file/d/1iMDX0yimbAs3l5LsliP9TllqQpqajWOm/view?usp=sharing" rel="nofollow noreferrer">a.txt</a></p>
  
  <p>which shows the following 2 lines of data:</p>
  
  <pre><code>300 100 500 250 150
  34984 29220 43640 36410 7980
  </code></pre>
  
  <p>I need to create a code that creates a dictionary that shows the following result:</p>
  
  <pre><code>A   300
  B   100
  C   500
  D   250
  E   150
  </code></pre>
  
  <p>I have tried with this code, but I cannot separate the figures, nor choose only the first line. Any ideas?</p>
  
  <pre><code>f.read
  import string
  mayusculas = string.ascii_uppercase
  f = open("a.txt", "r")
  for i, c in zip(mayusculas, f):
       print(i, c)
  f.close()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Eko0H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Eko0H.png" alt="enter image description here"></a></p>
  
  <p><strong>Thank you all.</strong></p>