Answers for "close turtle window python"

0

close turtle window python

# import package
import turtle
  
# loop for motion
for i in range(3):
  turtle.circle(40)
  turtle.right(120)
  
# exit from the screen 
# if and only if
# mouse is clicked
turtle.exitonclick()
Posted by: Guest on April-12-2022

Python Answers by Framework

Browse Popular Code Answers by Language