summaryrefslogtreecommitdiff
path: root/progs/a160.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a160.py')
-rw-r--r--progs/a160.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/a160.py b/progs/a160.py
new file mode 100644
index 0000000..010935e
--- /dev/null
+++ b/progs/a160.py
@@ -0,0 +1,6 @@
+def arc_length(d,a):
+ pi=22/7
+ if a >= 360:
+ return None
+ arclength = (pi*d) * (a/360)
+ return arclength \ No newline at end of file