# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

from __future__ import print_function


# +
def fac(x):
    if x == 1:
        return 1
    else:
        return x*fac(x-1)
    
print(fac(5))
print(fac(52))
print(fac(52).bit_length())
# -



StarcoderdataJupyterScriptsDedupFiltered