Computer Science, asked by Anonymous, 10 months ago

Answer the given attachment :P​

Attachments:

Answers

Answered by Anonymous
39

\huge\bold\red{ANSWER}

\bold{FOR \: LOOP}

a=int(input("enter number"))

f=1

for i in range(a,0,-1):

f=f*i

print("factorial of",a,"is",f)

Note: Screenshots of program is in attachment

\huge\bold\red{THANK YOU }

Attachments:
Answered by hydrogen000001
0

a=int(input("enter number"))

f=1

for I in range (a,0,-1):

f=f*i

print(f)

Similar questions