Answers for "how to make a window with turtle in python"

3

create a window turtle python

import turtle

# Create the window
wn = turtle.Screen()
wn.setup(800, 600) # Dimensions
wn.bgcolor("black") # Background color
wn.title("Window") # Title

# Main loop
while True:
  window.update() # Update window
Posted by: Guest on December-22-2020
1

python how to keep turtle window open

turtle.done()
Posted by: Guest on April-30-2020

Code answers related to "how to make a window with turtle in python"

Python Answers by Framework

Browse Popular Code Answers by Language