Skip to content

Commit f3c8a20

Browse files
committed
fix: Uppercase code comments
1 parent 9a87b6e commit f3c8a20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python-web-applications/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ def convert_temp(cel_temp):
88
"""Converts Celsius temperature to Fahrenheit temperature."""
99
try:
1010
far_temp = float(cel_temp) * 9 / 5 + 32
11-
far_temp = round(far_temp, 3) # round to three decimal places
11+
far_temp = round(far_temp, 3) # Round to three decimal places
1212
return str(far_temp)
13-
except ValueError: # user entered non-numeric temperature
13+
except ValueError: # User entered non-numeric temperature
1414
return "invalid input"
1515

1616

0 commit comments

Comments
 (0)