📅  最后修改于: 2022-03-11 14:46:48.254000             🧑  作者: Mango
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