We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 808a196 commit e4ecc25Copy full SHA for e4ecc25
Math/FindAngleMBC.py
@@ -4,6 +4,7 @@
4
Domain : Python
5
Author : Ahmedur Rahman Shovon
6
Created : 15 July 2016
7
+Updated : 08 February 2023
8
Problem : https://www.hackerrank.com/challenges/find-angle/problem
9
"""
10
@@ -22,5 +23,4 @@
22
23
# where b=c
24
angel_b_radian = math.acos(a / (2 * b))
25
angel_b_degree = int(round((180 * angel_b_radian) / math.pi))
-output_str = f"{angel_b_degree}°"
26
-print(output_str)
+print(f"{angel_b_degree}°")
0 commit comments