diff options
Diffstat (limited to 'progs/a25.py')
-rw-r--r-- | progs/a25.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a25.py b/progs/a25.py new file mode 100644 index 0000000..30674f9 --- /dev/null +++ b/progs/a25.py @@ -0,0 +1,4 @@ +def triangle_area(r) :
+ if r < 0 :
+ return -1
+ return r * r
\ No newline at end of file |