Commit 24e5bdff authored by Mestari Yousra's avatar Mestari Yousra
Browse files

Fonction factorielle

parents
def facto(n):
if n==0:
return 1
if n==1:
return 1
return n*facto(n-1)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment