Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text=open("text.txt",'r')
- lines = text.readlines()
- coord =[]
- for line in lines:
- words=line.split("-")
- coord+=words
- print coord[0]
- print coord[1]
- print coord[2]
- print coord[3]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement