Macaulay2 » Documentation
Packages » Python » PythonObject » PythonObject !
next | previous | forward | backward | up | index | toc

PythonObject ! -- factorial of a Python object

Description

This computes the factorial of a Python object.

i1 : (toPython 5)!

o1 = 120

o1 : PythonObject of class int

See also

Ways to use this method:


The source of this document is in Python/doc/number-theory.m2:52:0.