Decode School

Decode School - The School for Problem Solvers
Welcome to My Blog.
Need Assignment / Project Guidance (or) Training in Python?

Celsius to Fahrenheit in Python

Python program to get Celsius C from user and find Fahrenheit F

Sample Input 1:


Sample Output 1:


Program or Solution

c=float(input("Enter Celsius:"))
print("Fahrenhiet: %.2f" % f)


Program Explanation

Get celsius c as input (using input() method) Calculate Fahrenheit f using Formula f=1.8*c+32 print Fahrenheit f (using print() method).