Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
15

How do I change the Background color with Turtle in Python?

nubiancoder2
nubiancoder2

I tried using the following lines of code but to no avail.. Someone please help

turtle.bgcolor("blue")
turtle.backgroundcolor("blue")

3 years ago

Voters

Comments

TopNew
4
Zavexeon
Zavexeon

Heya, moved this post to "Ask" for yah. The "Learn" board is for tutorials and the like. Thanks. :3

3 years ago
1
nubiancoder2
nubiancoder2

Hey I'm late but Thank you


@Zavexeon

3 years ago
4
mendonaarav
mendonaarav

@nubiancoder2
Try this:Screen=turtle.Screen()
canvas=turtle.Screen()
canvas.bgcolor("blue")

2 years ago