multiplier= int(input("insert the number you want to multiply by: ")) sequence_length= int(input("insert the length of the sequence: ")) for i in range(sequence_length): print(i*multiplier, end= ", ") print("program finished")