You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "invalid syntax" error is occurring because you are launching the program with an old version of Python. "Match" and "Case" statements (i.e. 'switch' statements in C, or 'when' in Kotlin) were introduced in Python3.10, hence when you type "Python" and launch the program, it will not recognize the syntax.
It is suggested you launch the program in PowerShell using the newest version of Python instead, i.e. Python3.10.
i do all steps but when i try to launch main.py cmd give me "syntax error: invalid syntax"
The text was updated successfully, but these errors were encountered: