Created
May 13, 2020 13:34
-
-
Save meet100ni/88e9f2482242f37c1f9c11c9fe99970e to your computer and use it in GitHub Desktop.
Find Angle MBC HackerRank Solution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enter your code here. Read input from STDIN. Print output to STDOUT | |
from math import atan | |
from math import degrees | |
ab = int(input()) | |
bc = int(input()) | |
print(str(round(degrees(atan((ab / 2) / (bc / 2))))) + "°") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment