rounding temperature

This commit is contained in:
2026-04-05 11:45:18 -04:00
parent c563eabec2
commit cb6369bcb8

View File

@@ -2,4 +2,4 @@
# dummy code for hw # dummy code for hw
def to_celsius(fahrenheit): def to_celsius(fahrenheit):
return (fahrenheit - 32) * 5 / 9 return round((fahrenheit - 32) * 5 / 9)