I have this If statement in my code:
if h >= 65 and h < 75
lcd.set_cursor(0,1)
lcd.message("Medium")
And I get this error:
if h >= 65 and h < 75
^
SyntaxError: invalid syntax
Can you please help me, I don't know why this happens.
You have not put : at the end of your if statement.
if h >= 65 and h < 75:
lcd.set_cursor(0,1)
lcd.message("Medium")