Skip to content

Commit e4ecc25

Browse files
authored
updated fstring
1 parent 808a196 commit e4ecc25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Math/FindAngleMBC.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Domain : Python
55
Author : Ahmedur Rahman Shovon
66
Created : 15 July 2016
7+
Updated : 08 February 2023
78
Problem : https://www.hackerrank.com/challenges/find-angle/problem
89
"""
910

@@ -22,5 +23,4 @@
2223
# where b=c
2324
angel_b_radian = math.acos(a / (2 * b))
2425
angel_b_degree = int(round((180 * angel_b_radian) / math.pi))
25-
output_str = f"{angel_b_degree}°"
26-
print(output_str)
26+
print(f"{angel_b_degree}°")

0 commit comments

Comments
 (0)