index
:
clp
main
A small Python compiler with optimizer written in Java
dcariotti
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
progs
/
a40.py
blob: 3cbfc1695e85d612095b457dc6bb0c9b3b4dec3e (
plain
)
1
2
def
is_nonagonal
(
n
):
return
int
(
n
*
(
7
*
n
-
5
)
/
2
)