Renamed folders to have leading 0.

This commit is contained in:
2017-12-16 12:54:29 +01:00
parent 00b91eae69
commit 70a2bf39ea
6 changed files with 0 additions and 0 deletions

22
luke_06/lightning_mc_queen.py Executable file
View File

@@ -0,0 +1,22 @@
#!/usr/bin/env python3.6
from pprint import pprint
def readFile():
with open('./verda.txt', 'r') as f:
read_data = f.read().splitlines()
f.close()
return read_data
def main():
data = readFile()
for line in data[1:]:
listview = line.split('\t')
city = listview[3]
country = listview[10]
cord = [listview[12], listview[13]]
print('place: {}', city, 'in', country)
print('cord:', cord)
if __name__=='__main__':
main()