[text] а

Viewer

  1. from turtle import*
  2. def key_1():
  3.     t.forward(60)
  4. def key_2():
  5.     t.left(60)
  6. t=Turtle()
  7. scr=t.getscreen()
  8. scr.listen()
  9. scr.onkey(key_1,"q")
  10. scr.onkey(key_2,"w")

Editor

You can edit this paste and save as new:


File Description
  • а
  • Paste Code
  • 30 Apr-2024
  • 171 Bytes
You can Share it: