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
/
a25.py
blob: 30674f963ae3053700dbaa6e0fec7a721ea6c024 (
plain
)
1
2
3
4
def
triangle_area
(
r
)
:
if
r
<
0
:
return
-
1
return
r
*
r