# build a list of tuples li = [ (i,i*2) for i in range(1,5)] print(li) # [(1, 2), (2, 4), (3, 6), (4, 8)]