Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- # help from repl
- help(math)
- help(math.factorial)
- math.factorial(5)
- math.factorial(6)
- # to reduce verboseness
- from math import factorial
- # Renaming the imported function
- from math import factorial as fac
Add Comment
Please, Sign In to add comment