Пример #1
0
 def factorial(self, a):
     """Compute factorial of ``a``. """
     return python_factorial(a)
Пример #2
0
 def factorial(self, a):
     """Compute factorial of ``a``. """
     return SymPyIntegerType(python_factorial(int(a)))
Пример #3
0
 def factorial(self, a):
     """Compute factorial of ``a``. """
     return python_factorial(a)
Пример #4
0
 def factorial(self, a):
     """Compute factorial of ``a``. """
     return SymPyIntegerType(python_factorial(int(a)))