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 /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Python/doc/number-theory.m2:52:0.