Computer Science, asked by madevayyamadeva, 2 months ago

V Program to find sum of 10 numbers:​

Answers

Answered by thilakkumarsivakumar
0

Answer:

num = int(input("Enter a Number: "))

if (num==0):

fact = 1

fact = 1

for i in range(1,num+1):

fact = fact * i

print(num, "!= ", fact)

Similar questions