def digitsInFactorial(N):
#Your code here
result =1
for i in range(1,N+1):
result *=i
return math.floor(math.log10(result))+1
def digitsInFactorial(N):
#Your code here
result =1
for i in range(1,N+1):
result *=i
return math.floor(math.log10(result))+1
Comments
Post a Comment