summaryrefslogtreecommitdiff
path: root/progs/a25.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a25.py')
-rw-r--r--progs/a25.py4
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