Любая помощь приветствуется
Код: Выделить всё
from turtle import *
import random
import turtle
ws = turtle.Screen()
ws.bgcolor("SkyBlue")
shape = Shape('compound')
shapesize(stretch_len=15,stretch_wid=15)
print(input('Enter your specified cords: '))
userreturn = input
pen=turtle.pen
def draw2(x,y):
penup()
pencolor('blue')
ws.update
if userreturn == ('2'):
turtle.goto(9000,9)
elif userreturn == ('23'):
turtle.goto(23,51)
elif userreturn == ('51'):
turtle.goto(51,39)
else:
turtle.goto(200,2)
turtle.onclick(draw2)
turtle.mainloop()
turtle.bye
Подробнее здесь: https://stackoverflow.com/questions/772 ... shape-move