mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
Fixes: #4710 provided return type
This commit is contained in:
parent
ff2a162bdd
commit
6550183d99
@ -21,7 +21,7 @@ from math import pi, sin
|
||||
g = 9.80665
|
||||
|
||||
|
||||
def angle_to_radians(angle):
|
||||
def angle_to_radians(angle : float) -> float:
|
||||
"""
|
||||
Convert an angle from degrees to randians
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user