3 Antworten
+ 5
input1 = int(input('first number?\n'))
input2 = int(input('second number?\n'))
for i in range(input1,input2+1,input1):
print(i)
# range() function can take up to three arguments:
# range(start_value,excluded_end_value,step_value)
- 1
Thanks a lot, I have finished my homework and got the point!