add updates to number_utils for testing
This commit is contained in:
@@ -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
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