Last active
June 12, 2020 19:27
-
-
Save ProgDan/7a40d049b42da53a82acbf777e681f90 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Move o segmento 0 para a posição onde está a cabeça | |
if len(segments) > 0: | |
x = head.xcor() | |
y = head.ycor() | |
segments[0].goto(x, y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment