Import

Created by Julien Palard

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:

import math

The import keyword loads the given module to your script, import math loads the math module in your script.

You don't need to install anything more than Python to run this on your computer, like many modules, math is a module that comes with Python.

There's no corrections yet, hit the `Submit` button to send your code to the correction bot.

Keyboard shortcuts:

  • Ctrl-Enter: Send your code to the correction bot.
  • Escape: Get back to the instructions tab.

See solutions