factor=int(input("enter a number: "))
num = 1
if factor >= 1:
  for i in range (1,factor+1):
    num = num * i
    print(i,num)
20558cfd72f0654a1211dc0e16745c7ef83c757f
<mask token>

<mask token>
if factor >= 1:
    for i in range(1, factor + 1):
        num = num * i
        print(i, num)

factor = int(input('enter a number: '))
num = 1
if factor >= 1:
    for i in range(1, factor + 1):
        num = num * i
        print(i, num)

factor=int(input("enter a number: "))
num = 1
if factor >= 1:
  for i in range (1,factor+1):
    num = num * i
    print(i,num)