How to fix SyntaxError: unexpected EOF while parsing in Python | DevErrors