-
-
Save codecademydev/aa993bb1b7f1f04cf4c4966bed7ecd5b to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def f_to_c(f_temp): | |
return (f_temp - 32) * 5/9 | |
f100_in_celsius = f_to_c(100) | |
print(f100_in_celsius) | |
def c_to_f(c_temp): | |
return (c_temp * (9/5) + 32 | |
c0_in_fahrenheit = c_to_f(0) | |
print(c0_in_fahrenheit) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment