summaryrefslogtreecommitdiff
path: root/progs/a795.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a795.py')
-rw-r--r--progs/a795.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a795.py b/progs/a795.py
new file mode 100644
index 0000000..0321581
--- /dev/null
+++ b/progs/a795.py
@@ -0,0 +1,3 @@
+def median_trapezium(base1,base2,height):
+ median = 0.5 * (base1+ base2)
+ return median \ No newline at end of file