Syntax Error in Room Light Monitoring Project

Hello! In the 14th project of Room Light Monitoring using Z-score analysis, I’m getting the following error:

Here’s my code:

Hoping for some guidance soon. Thanks in advance!

Actually the syntax error is in the line before the code line “time.sleep(30)”.
You may carefully observe that the line before your code line is used for printing a text with the data value of the response from light sensor, you havent actually closed the braces you opened just after the print function.Kindly close the braces and you will have your syntax error resolved.I havent checked your further code since i want you to yourself evaluate your syntaxical and conceptual errors.