1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] Convert Fahrenheit to Celsius Python

Discussão em 'Python' iniciado por Stack, Setembro 14, 2021.

  1. Stack

    Stack Membro Participativo

    I have been trying to convert Celsius and Fahrenheit and currently having problems with Fahrenheit to celsius , the code for the formula doesn't work for Fahrenheit to Celsius and I have no idea why

    :

    Fahrenheit = 69
    Celsius = (5/9*Fahrenheit - 32)
    print(Celsius)


    However, whenever I do celsius to Fahrenheit, it works.

    Celsius = 1
    Fahrenheit = (9/5*Celsius + 32)
    print(Fahrenheit)

    Continue reading...

Compartilhe esta Página