11 lines
227 B
Python
11 lines
227 B
Python
#!/usr/bin/python3
|
|
|
|
# dummy code for hw
|
|
def to_celsius(fahrenheit):
|
|
<<<<<<< HEAD
|
|
celsius = (fahrenheit - 32) * 5 / 9
|
|
return celsius
|
|
=======
|
|
return round((fahrenheit - 32) * 5 / 9)
|
|
>>>>>>> feature-temperature-format
|