Ask coding questions

← Back to all posts
Good programmers, plz help...
JavaTime (1)

Why, when I take the code from this repl and paste it in IDLE, do I get a different result (a more correct result) on IDLE than I do on repl.it?

On repl, I was coding and printing things out line by line to see where the runtime error was, but it is almost like the program stops on its own in the middle of the while loop.

When I copy all of it to IDLE and run it, it prints things out forever, which also isn't right, but at least that makes sense. What doesn't make sense is how repl.it almost seems to literally stop the program from within the program. It's like an AI that gets fed up with doing all the calculations, so the program itself decides to stop running. I swear this is what seems like is happening. Please take a look and tell me if I am right.

Comments
hotnewtop
Coder100 (18818)

Replit doesn't provide a true implementation in the python turtle language, so there are many bugs and kinks (for example the inability to have multiple files). Try using the pygame language.

Coder100 (18818)

use the pygame language to use turtle
the pygame language just has support for turtle and pygame @JavaTime

JavaTime (1)

So if I import pygame, I can use turtle and it will work? @Coder100

LAMAQDAHODWALA (61)

What version are you running in IDLE?

LAMAQDAHODWALA (61)

Also, for me your sudoku grid seems to be perfect @LAMAQDAHODWALA