add updates to number_utils for testing #1

Merged
zack merged 1 commits from testing into main 2026-04-05 15:57:49 +00:00
2 changed files with 13 additions and 0 deletions

View File

@@ -3,3 +3,6 @@
# more code for hw # more code for hw
def is_even(n): def is_even(n):
return n % 2 == 0 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