Unexpected EOF error in Google colab

I am facing EOF error while using this statement:

hours_per_week = 14                       #works
if hours_per_week >10:                    #gives unexpected error

Please help

Did you complete the if block for e.g. by adding a print statement

if hours_per_week >10:
    print('all is well')

otherwise the block is incomplete and will throw EOF error:
Screenshot 2020-07-07 at 9.31.04 AM

Yes, I had. Nonetheless, I solved it. Thanks