Compare commits
2 Commits
1ad3d78090
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 0b503c6348 | |||
| 2b81f23477 |
@@ -3,3 +3,6 @@
|
||||
# more code for hw
|
||||
def is_even(n):
|
||||
return n % 2 == 0
|
||||
|
||||
def is_odd(n):
|
||||
return n % 2 != 0
|
||||
|
||||
10
temperature.py.orig
Normal file
10
temperature.py.orig
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user