SHARE
TWEET

Untitled

a guest Jun 26th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. K P
  2. A P
  3. 3 P
  4. 9 P
  5. 10 P
  6. J P
  7. 4 P
  8. 2 P
  9. 6 P
  10. 8 P
  11. 7 P
  12. Q P
  13. 5 P
  14.      
  15. arquivo = open('nome_arquivo.txt', 'r')
  16. dados = arquivo.readlines()
  17. dic = {}
  18. for linha in dados:
  19.     linha = linha.split()
  20.     dic[linha[0]] = linha[1]
  21. print(dic)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top