Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why won't my turtle move
#5
Now things are getting weird, I did do fred=turtle.Turtle(), but now a third arrow has appeared---- you have to test the program out yourself--- I always thought = means "is a", but now everything's gone weird.

import turtle
emily=turtle.Pen()
emily.shape("turtle")
emily.color("purple")
emily=turtle.Turtle()
emily.forward(100)
turtle.forward(300)
I still don't understand why my computer didn't understand my first commands on my first post---- Fred is clearly the turtle and should be moving, it is so obvious even the computer knows that fred "is a" turtle.
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,035 Dec-16-2020, 09:44 AM
Last Post: itexamples
  wn = turtle.screen() AttributeError: module 'turtle' has no attribute 'screen' Shadower 1 6,199 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,655 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