Compare commits

...

4 Commits

Author SHA1 Message Date
1ad3d78090 fixed merge issues 2026-04-05 11:54:23 -04:00
4d715a020a other change to temperature 2026-04-05 11:46:31 -04:00
cb6369bcb8 rounding temperature 2026-04-05 11:45:18 -04:00
c563eabec2 adding number utils 2026-04-05 11:42:12 -04:00
2 changed files with 8 additions and 1 deletions

5
number_utils.py Normal file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/python3
# more code for hw
def is_even(n):
return n % 2 == 0

View File

@@ -2,4 +2,6 @@
# dummy code for hw # dummy code for hw
def to_celsius(fahrenheit): def to_celsius(fahrenheit):
return (fahrenheit - 32) * 5 / 9 celsius = (fahrenheit - 32) * 5 / 9
celsius = round(celsius)
return celsius