My LM35 sensor program for sms is not working in ubuntu server

I have started using the ubuntu server on putty. While typing the program for temperature sensor and when i run that program it shows an error which is Error invalid literal for int() with base 10:‘Device does not exist’.
I don’t know what to do please help me .

Don’t worry, I will try to help you solving this issue.
Could you please show the complete code of and as well for better understanding?

Hi @mshakti.shukla,

Check your DEVICE_ID variable in your conf file. Your device id is incorrect.

Do let me know in case you need any other information.