Home > other >  I'm making a temperature converter app, but there's something I don't understand
I'm making a temperature converter app, but there's something I don't understand

Time:02-06

I am making a temperature translation application, but there are some points that I do not understand. What operator do I need to use when converting kelvin to fahrenheit?

code

I set the kelvin value to 273.15 and the degree value I got from the information I received from the user

CodePudding user response:

What operator do I need to use when converting kelvin to fahrenheit

This is the formula

°F =(K - 273.15)* 1.8000 32.00

You already have K. Those operators shown are the same in Python

CodePudding user response:

Well if you are going for a simple program with some python program with some operator ,here we go-

f = float(input("Enter temperature in F-Scale: "))

k = 5 * (f-32)/9 273.15

Hope this would help

  •  Tags:  
  • Related