L#Oy`dZddlddZddZdZedk(reZeeeyy) ap turtle-example-suite: tdemo_paint.py A simple event-driven paint program - left mouse button moves turtle - middle mouse button changes color - right mouse button toggles between pen up (no line drawn when the turtle moves) and pen down (line is drawn). If pen up follows at least two pen-down moves, the polygon that includes the starting point is filled. ------------------------------------------- Play around by clicking into the canvas using all three mouse buttons. ------------------------------------------- To exit press STOP button ------------------------------------------- )*cptdrttytt y)Npendown)penend_fillupdown begin_fillxys 7/opt/alt/python312/lib64/python3.12/turtledemo/paint.py switchupdownrs  uY    cNtddtddzattdy)Nr)colorscolorr s r changecolorr s$ ABZr "F &)rctdtdtdtdgdat tdt ttdttdtt dy ) Ncircleuserg?)redgreenblueyellowrr EVENTLOOP) shape resizemode shapesizewidthrrr onscreenclickgotorrrmainr'%sV (Ov bM !H -F &)N$q+a ,q! r__main__N)rr) __doc__turtlerrr'__name__msgprintmainloopr&rrr/s@(  z &C #J Jr