Compare commits
4 Commits
f57addc619
...
1ad3d78090
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ad3d78090 | |||
| 4d715a020a | |||
| cb6369bcb8 | |||
| c563eabec2 |
5
number_utils.py
Normal file
5
number_utils.py
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
# more code for hw
|
||||
def is_even(n):
|
||||
return n % 2 == 0
|
||||
@@ -2,4 +2,6 @@
|
||||
|
||||
# dummy code for hw
|
||||
def to_celsius(fahrenheit):
|
||||
return (fahrenheit - 32) * 5 / 9
|
||||
celsius = (fahrenheit - 32) * 5 / 9
|
||||
celsius = round(celsius)
|
||||
return celsius
|
||||
|
||||
Reference in New Issue
Block a user