how to change turtle size
[deleted]
hi in the turtle documentation, they say that for change a turtle size you use the metode shapesize or turtlesize, but when i try it says
AttributeError: 'Turtle' object has no attribute 'shapesize' on line 33
(i'm using turtle repl)
CodeLongAndPros
Are you looking at the 3.? docs or the 2.7 docs?
[deleted]
[deleted]
i work in python [email protected]
CodeLongAndPros
@MehdiBenkhadra Huh. It works for me:
[deleted]
what? really don't move i'm going to try it
@CodeLongAndPros
CodeLongAndPros
@MehdiBenkhadra I've also tested it on my local machine.
[deleted]
i thing it don't work just in a turtle repl
but in a normal one it [email protected]
CodeLongAndPros
@MehdiBenkhadra Well, a Turtle repl is Python 2.7.
[deleted]
whaaaaaaaaaaaaaaat
[email protected]
CodeLongAndPros
@MehdiBenkhadra Yep,
print "Hello"
works.SixBeeps
Can you copy-paste your code? I think I might know what it is.
[deleted]
import turtle
t= turtle.Turtle()
t.setheading(90)
wn= turtle.Screen()
def up():
t.forward(100)
while True:
wn.listen()
wn.onkey(up, 'Up')
thay's an example it works in a turtle repl but not in a normal python one
@SixBeeps
Slobodan