← Previous Next →

Import

Created by Julien Palard

Instructions

Write a script that print the factorial of 27.

Use the factorial function from the math module.

Advice

You'll need to import the math module. The math module, as well as many others, are packaged with Python, you don't have nothing to install on your computer, if you have Python it's already here.

Have a look at the standard modules section in this tutorial and the import statement.