Write a program to input a number and display its multiples up to 10 terms using while loop. for beginners
Answers
Answered by
2
n = int(input("n: "))
counter = 1
while counter < 11:
print(f"{n} x {counter} = {n * counter}")
counter += 1
Similar questions