Python - Temperature Converter Tutorial (Celsius to Fahrenheit)

preview_player
Показать описание
Learn how to convert Degrees Celsius into Fahrenheit using 3 lines of Python code.

~ CODE ~

celsius = int(input("Enter the temperature in Degrees Celsius that you would like to convert: "))
fahrenheit = (celsius * 9/5) + 32

print("The converted temperature is", fahrenheit, "Degrees Fahrenheit.")
Рекомендации по теме
Комментарии
Автор

I’m telling you, out of 8 different classes/videos/teachers. This one ☝🏼 these videos are truly amazing. I pause the videos and do things before you to see if I can get it right or see if I can catch your mistakes that you are making on purpose. I’m actually I mean actually learning something. Thank you very much for these courses.

MorrWorm
Автор

i use if -elif condition to ask user what he wants to do like converting from Celsius into Fahrenheit or from Fahrenheit to Celsius . I'm still a beginner and your video was a big help

MohammedAbdulreda
Автор

answer=str()
while answer != 'Q':
Fahrenheit =int(input("Degrees Fahrenheit:"))
Celsius = (Fahrenheit - 32) * 5/9
print("Degrees Celsius:", Celsius)


I had a similar problem and had a HUGE mental clog that day, thanks for helping me with my mental plumbing

peters
Автор

Thanks I don’t understand python at all and this helped a ton

noblevenom
Автор

Thanks a bunch. Helped me to understand some of the particulars with Syntax.

rickertvimbrant
Автор

does anyone know about any online tuitions for python classes?

inderbirsingh
Автор

Given an amount, write a program to find a minimum number of currency notes of different denominations that sum to the given amount. Available note denominations are 1000, 500, 100, 50, 20, 5, 1 can you solve this problem without functions

ginjupallirushivarma
Автор

Can you compute wind chill for wind speeds of 5 to 60 miles per hour

chukwujioke
Автор

Thank you so much i was stuck in problem and this made it so i could solve it <3

irregular
Автор

So when the + is changed to a comma, I realized a space is automatically added after the variable. Is there a way to eliminate this?

Additionally, I see that you did not use a string like in the previous video. Does the comma eliminate the need for that?

tvjjerome
Автор

Pls kindly change your background from dark theme to a brighter one....

sirkingsomo
Автор

how would it work from ferignheit to celcius?

condobirdyt
Автор

Thanks ratujesz mnie bo na inf nie słuchałem

patrykos
Автор

Hi, this gave me a syntax error, thank you for that. Not helpful.

denisepcc