syntax error:invalid syntax
i wrote the code several times but it keeps saying that there's a syntax error.
please write the code syntax error is happen when you forget of use syntax in wrong way for example if x<5 print (5) syntax error because you forget (:) it should be (ifx<5 : )
the problem keep appearing when i press shift after i write the else
i don't know why you need to press shift after else but make sure that else is in the loop and it is down caps and you use (:) after else like that if xxxxxxx: print (aaaaa) else: print (zzzzz)