index
:
clp.git
main
A small Python compiler with optimizer written in Java
Ubuntu
summary
refs
log
tree
commit
diff
stats
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)