Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Part 1, exercise 26: Temperatures #63

Open
freescaro opened this issue Feb 29, 2024 · 0 comments
Open

Part 1, exercise 26: Temperatures #63

freescaro opened this issue Feb 29, 2024 · 0 comments

Comments

@freescaro
Copy link

I can't understand what I did wrong.
It says:
"Your program should print out
32 degrees Fahrenheit equals 0.0 degrees Celsius
when input is 32, but now print out is
32 degrees Fahrenheit equals 0.0 degrees Celcius"

My code was:
temperature_f = int(input("Please type i a temperature (F):"))
temperature_c = (temperature_f - 32) * 5/9
print(f"{temperature_f} degrees Fahrenheit equals {temperature_c} degrees Celcius")
if temperature_c < 0:
print("Brr! It's cold in here!")

Can someone help?

@freescaro freescaro changed the title Part 1, exercise 26 Part 1, exercise 26: Temperatures Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant