Identation level error

I can’t able to stuck out by an error of identation level in the project of sending sms when temp crossed threshold, i can’t able to understand previous form answers for same problem,so put this query again here…error is attached here…

De-indent the except Exception as e line such that it aligns with the try statement

1 Like

Indentation matters a lot while writing a python code. If you see carefully you have not given proper tab space in the except block. Try de-indenting and again giving proper tab spaces. Hope this would be helpful.