how to find how many factorial numbers are within a file

前端 未结 0 1281

i have a problem when i try to find if a number is factorial this is what I\'ve done so far:

i = 1
count = 0
while n>1:
    if n % i == 0:
        n /= i
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题