Examples

Arithmetic Fractions Simplify fractions 242/33

242/33 Rationalize repeating decimals 0.[123] Approximations pi

E

exp(pi)

Miscellaneous Documentation for functions factorial2

factorial2 sympify

bernoulli

… and more: see the documentation to learn about the full range of SymPy's capabilities.