Answers for "what is the conversion from celsius to fahrenheit in python module"

2

how to convert fahrenheit to celsius in 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"
Posted by: Guest on October-12-2020
1

celsius to fahrenheit in 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))
Posted by: Guest on January-11-2022

Code answers related to "what is the conversion from celsius to fahrenheit in python module"

Python Answers by Framework

Browse Popular Code Answers by Language