Import Radians Function Of Math Package

[Solved] Import Radians Function Of Math Package | Swift - Code Explorer | yomemimo.com
Question : import radians function of math package

Answered by : angry-aardvark-xof4eo6nu5br

# Definition of radius
r = 192500
# Import radians function of math package
from math import radians
# Travel distance of Moon over 12 degrees. Store in dist.
dist=int(r*(math.radians(12)))
# Print out dist
print(dist)

Source : https://stackoverflow.com/questions/59772449/how-to-import-a-radian-file-from-python-and-how-must-i-print-out-a-large-number | Last Update : Fri, 02 Dec 22

Answers related to import radians function of math package

Code Explorer Popular Question For Swift