my_list = [ x + x for x in range(3) ] for item in my_list: print (item) Output: 0 2 4