Open jesmet opened 5 days ago
n=int(input("enter the number")) i=1 for i in range(1,11): r=n*i print(f"{n} x i={r}")
n=int(input('Enter a number ')) for i in range(1,11): M=n*i Print(M)
n=int(input("enter the number")) i=1 for i in range(1,11): r=n*i print(f"{n} x {i}={r}")
day3
for loop
Prompt the user to input a number N. Use a for loop to print the multiplication table for N from 1 to 10. Format the output as: N x 1 = result N x 2 = result And so on, up to N x 10