In the temperature monitoring python code, this is the code to obtain the current value of the sensor on our computer screen:
print ("Sensor value is: " + str(data[‘value’]))
How can we transform this code so that we get the temperature value in degree celsius instead of sensor value on our screen? I try dividing the value by 10.24 in the code but it did not give me the result. How to write that logic in the code so as to obtain temperature value instead of sensor value.