Showing posts with the label syntax-error

[FIXED] Why does my python code run perfectly fine on runestone but not on vscode?

Issue def CreditPay(rate, payment, verbose): balance = 1000 # Amount currently owed month =…

[FIXED] 'Syntax Error: invalid syntax' for no apparent reason

Issue I've been trying to get a fix and can't find why the error keeps appearing. Pmin,Pmax…

[FIXED] New regex module fuzzy function error value. Python

Issue im trying out the fuzzy function of the new regex module. in this case, i want there to find…

[FIXED] pytest cant import modules and gives SyntaxError

Issue I am using pytest to test my functions in a directory that looks like this: ├── my_dir ├…

[FIXED] Jupyter showing syntax error on match case, stating that i need pylance 3.10 or newer, which is already installed and working

Issue So, I've installed python 3.10.6 and everything works fine, even the match case where i g…