Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

number pattern program in python using for loop

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")
 
PREVIOUS NEXT
Tagged: #number #pattern #program #python #loop
ADD COMMENT
Topic
Name
2+4 =