n = 2 #set variable to complete the output for i in range(2, 20 +n, n): #range("begin" , "end" , "increment by") print(i, end = " ") #print horizontally