Ask coding questions

← Back to all posts
Incomplete Python Module Turtle
YehudaKatz (0)

Function bgcolor(" .. ") is not recognized by Repl.it.
Yehuda

Comments
hotnewtop
YehudaKatz (0)

Sirs, I copies my code from Wing 101 IDE and there it works PERFECTLY.

InvisibleOne (2675)

First, make sure you are doing this in a turtle repl, not a normal python one. Also make sure that you are doing turtle.Screen().bgcolor
This article might help: https://www.geeksforgeeks.org/turtle-screen-bgcolor-function-in-python/

19ecal (228)

Are you sure you imported everything properly in your code?