summaryrefslogtreecommitdiff
path: root/progs/a234.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a234.py')
-rw-r--r--progs/a234.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/a234.py b/progs/a234.py
new file mode 100644
index 0000000..eaa9fed
--- /dev/null
+++ b/progs/a234.py
@@ -0,0 +1,2 @@
+def slope(x1,y1,x2,y2):
+ return (float)(y2-y1)/(x2-x1) \ No newline at end of file