summaryrefslogtreecommitdiff
path: root/progs/a160.py
blob: 010935e857dc7360ea6727ba77528a1da9db5976 (plain)
1
2
3
4
5
6
def arc_length(d,a):
    pi=22/7
    if a >= 360:
        return None
    arclength = (pi*d) * (a/360)
    return arclength