Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why won't my turtle move
#6
Again, you didn't set emily to be a turtle, not until line 5. That needs to be the first thing you do. Then do all the other commands, using emily, not turtle.

import turtle
emily = turtle.Turtle()  # this is what makes emily a turtle.
emily.Pen()
emily.shape('turtle')
...
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
why won't my turtle move - by ironsheep - Nov-13-2018, 02:43 AM
RE: why won't my turtle move - by ichabod801 - Nov-13-2018, 02:57 AM
RE: why won't my turtle move - by ironsheep - Nov-13-2018, 10:37 PM
RE: why won't my turtle move - by ichabod801 - Nov-13-2018, 11:10 PM
RE: why won't my turtle move - by ironsheep - Nov-14-2018, 10:51 PM
RE: why won't my turtle move - by ichabod801 - Nov-14-2018, 11:18 PM
RE: why won't my turtle move - by ironsheep - Nov-15-2018, 04:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to move text created by turtle.write()? derekered 7 6,305 Dec-16-2020, 09:44 AM
Last Post: itexamples
  wn = turtle.screen() AttributeError: module 'turtle' has no attribute 'screen' Shadower 1 6,275 Feb-06-2019, 01:25 AM
Last Post: woooee
  Help! Turtle not working, even when we click the turtle demo in IDLE nothing happens. BertyBee 3 5,763 Jan-04-2019, 02:44 AM
Last Post: SheeppOSU

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020