rounding temperature
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
|
||||
# dummy code for hw
|
||||
def to_celsius(fahrenheit):
|
||||
return (fahrenheit - 32) * 5 / 9
|
||||
return round((fahrenheit - 32) * 5 / 9)
|
||||
|
||||
Reference in New Issue
Block a user