How to fix SyntaxError: cannot assign to function call in Python | DevErrors