Python program to Convert from Fahrenheit to Celsius

x = int(input("Insert a Fahrenheit value: "))
x = round((x-32)*(5/9))
print(str(x)+'C')

 

Outputs:

Insert a Fahrenheit value: 102
39C

 

Insert a Fahrenheit value: 208
98C

 

Subscribe For Daily Updates

100+ Python Pattern Examplespython pattern examples - star patterns, number patterns