Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Функция Аккермана
KateWilson
Aug 20th, 2019
215
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
def
Akkerman
(
n
,
m
)
:
if
n
==
0
:
return
(
m+
1
)
if
n
!=
0
and
m
==
0
:
return
Akkerman
(
n-
1
,
1
)
if
n
>
0
and
m
>
0
:
return
(
Akkerman
(
n-
1
)
,
Akkerman
(
n
,
m-
1
)
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
other setups
CSS | 25 min ago | 0.15 KB
Ziz Status Messages
3 hours ago | 1.03 KB
setups
9 hours ago | 0.16 KB
Untitled
9 hours ago | 0.36 KB
my-push Script
9 hours ago | 0.61 KB
cholibrium
1 day ago | 1.65 KB
SMB BIS - Dimble Woods - Virtual Piano
2 days ago | 3.15 KB
buscar-productos.blade.php
PHP | 2 days ago | 2.44 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!