Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
Blessing988
Feb 11th, 2020
130
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
factorial
(
number
)
:
if
number
==
1
:
#base case
return
(
1
)
else
:
return
(
number
)
*factorial
(
number -
1
)
print
(
factorial
(
35
)
)
#Example
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
18 min ago | 10.28 KB
OoT rando seed 4/16
53 min ago | 67.81 KB
Untitled
1 hour ago | 8.21 KB
Untitled
2 hours ago | 8.46 KB
Untitled
3 hours ago | 7.62 KB
Web Maintenance Kickoff [POST REDESIGN]
3 hours ago | 0.98 KB
Untitled
4 hours ago | 7.43 KB
Untitled
5 hours ago | 6.56 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!