How do I current this function to give me an output of True or False for whether or not the integer is equal to a factorial?

前端 未结 0 445
温柔的废话
温柔的废话 2021-01-24 03:55

Given below is a function ​is_factorial​ that takes a positive integer n​ as parameter. It should print ​True​ if ​n​ is equal to factorial of a positive integer and otherwise ​

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