So I made this little Tic-Tac-Toe game in Python for fun during spare time: https://onlinegdb.com/ByLi90jEd (Disclaimer: Yes, I know, this code is repetitive and garbage). It doesn't seem to tell you when you win. It will only tell you when the computer wins. Why? How do I fix this?
In line 10, change the right-shift operator (>>) to greater-than operator (>).
while Availablespacescounter > 0:
With this, the code seems to work for me.