Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. 1,2,3,0,0
  2. 1,0,4,5,0
  3. 1,1,1,1,1
  4. 3,4,5,6,0
  5. 1,0,1,0,3
  6. 3,3,4,0,0
  7.  
  8. infile = open("Data.txt", "r")
  9. tempLine = infile.readline()
  10. while tempLine:
  11. print(tempLine.split(','))
  12. tempLine = infile.readline()
  13.  
  14. flist =[[1,2,3,0,0],[1,0,4,5,0],[1,1,1,1,1],[3,4,5,6,0],[1,0,1,0,3],[3,3,4,0,0]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement