Compare commits

...

1 Commits

Author SHA1 Message Date
2b81f23477 add updates to number_utils for testing 2026-04-05 11:56:40 -04:00
2 changed files with 13 additions and 0 deletions

View File

@@ -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
View 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