Room Light Monitoring Project using Z-Score Analysis

As I tried this project by sending a messsage in telegram. But it showing an error : Inconsistent use of tabs and spaces in indentation.
Kindly, check whether the program is Right or Wrong?


Either use 4 spaces or 1tab to indent your code and keep it consistent.
As clearly seen in the try catch block of the 2nd screenshot has double indent.

To resolve this issue, copy your code in sublime and search for tabs by typing \t in the search bar. Sublime will then list out all the tabs for you which you can replace with 4 spaces or vice versa.

Even though it showing me the same error.