Problem description:
For some reason I write some code and try to run it and it says “unexpected EOF while parsing” at line x, except line x doesn’t exist.
I press enter to go to line x, and it’s automatically indented about 3 times. This continues for every line afterward and I have to rewrite my code by hand because copypasting gives the same error.
Expected behavior:
It shouldn’t do this, I (with limited understanding of python) think everything about the code has no reason to cause this
Actual behavior:
Explained at top
Steps to reproduce:
As stated, it just happens. It might just be that I use ifs all the time but they seem to mostly happen after an if statement.
Bug appears at this link:
https://replit.com/@LouisGenders/blackjack-bug-report-ver#main.py
Browser/OS/Device:
Chrome, ChromeOS, some Dell school chromebook