Turtle Challenge 1

Turtle Challenge 1 Create a window to work in
Create a new Python document (File, New, New File.., Python Script, Create)

Save your work as logo1.py
Copy this code (left side only) into the document to setup your Turtle(s)

from turtle import TurtleScreen, RawTurtle, TK
root = TK.Tk()
cv1 = TK.Canvas(root, width=500, height=500, bg="#ddffff")
cv1.pack()
s1 = TurtleScreen(cv1)
s1.bgcolor("orange")
p = RawTurtle(s1)
t = RawTurtle(s1)

#Insert turtle moves here

TK.mainloop()
 

#Set width and height of #pop up window

#Colour of background
#Define turtle in variable p
#Define turtle in variable t




#This must go on the end

Save your work
Run your code using the green arrow button or f5 on standard version
Try changing orange to another colour

Try changing the pop up window sizes (500
)

Problems?
If you don't understand what you need to do watch this video
Did you copy all the code from above try copying it again.
Did you delete the last line?

Comments