“Código Python para converter Celsius para Fahrenheit” Respostas de código

Como converter Fahrenheit em Celsius em Python


#!/usr/bin/env python
Celsius = int(raw_input("Enter a temperature in Celsius: "))

Fahrenheit = 9.0/5.0 * Celsius + 32

print "Temperature:", Celsius, "Celsius = ", Fahrenheit, " F"
Harry the Programmer

Celsius para Fahrenheit em Python

def farh(cel):
    return (cel *(9/5)) + 32
  while True:
c = int(input("Enter celcius to convert in farhrenhite :"))
f = farh(c)
print("Fahreheit Temperature is " + str(f))
Coding boy Hasya

Como converter Fahrenheit em Celsius em Python

#!/usr/bin/env python
Fahrenheit = int(raw_input("Enter a temperature in Fahrenheit: "))

Celsius = (Fahrenheit - 32) * 5.0/9.0

print "Temperature:", Fahrenheit, "Fahrenheit = ", Celsius, " C"
Harry the Programmer

Código Python para converter Celsius para Fahrenheit

c=  int(input(" Temperature in Centigrade: "))
f= (9/5*(int(c))) +32
print(" Temperature in Fahrenheit: ", f)
MD. SHARIFUL ISLAM

Respostas semelhantes a “Código Python para converter Celsius para Fahrenheit”

Perguntas semelhantes a “Código Python para converter Celsius para Fahrenheit”

Mais respostas relacionadas para “Código Python para converter Celsius para Fahrenheit” em Python

Procure respostas de código populares por idioma

Procurar outros idiomas de código