You are on page 1of 1

print('hello')

import itertools
x=2
print(x)
a=['GIP 1','GIP 2','GIP 3','GIP 4','GIP 5','GIP 6','GIP 7','GIP 8','GIP 10','GIP
11','GIP 12','GIP 13','GIP 14','GIP 15','GIP 16',]
b=['UD-TD-1','TD-MD-1','MD-CD-1','MD-CD-2','CD-SD-1','CD-SD-2','SD-BL-1','SD-BL-
2','SD-BL-3','GIP BA','GIP BL1','GIP BL2',]

routes=open('routes.txt','w')
for inb in b:
c=a+inb
d=map(str,c)
test=list(itertools.permutations(d,2))
test2=('\n'.join(map(str,test)))
routes.write(test2)

"""routes.write(test2)
"""
routes.write("try that shit again\n")
routes.close()

"""
print("test:", tup1[1])
print(list(itertools.permutations(d,2)))
print(','.join(d))
"""

You might also like