mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
Update arc_length.py
Added the requested changes
This commit is contained in:
parent
339330b8d7
commit
668ef1f78e
@ -12,4 +12,8 @@ def arc_length(angle: int, radius: int) -> float:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(arc_length(90, 10)) # --> 15.7079632679
|
||||
print(arc_length(90, 10))
|
||||
"""
|
||||
>>> arc_length(90, 10)
|
||||
15.7079632679
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user