dotted = zip(list(range(1, 22, 2)), list(range(2, 23, 2)), '.' * 11)
signs = ['+-+-+-+-+-+'] * 5
print([(dotted[n][:-1] + (i,)) for s in signs for n, i in enumerate(s)])
In Python how do I use list comprehensions to iterate through a list of lists?