0% found this document useful (0 votes)
2 views4 pages

Python Turtle Module 2

The document contains a series of Python assignments using the Turtle module, each demonstrating different turtle graphics commands. Each question involves creating a turtle object and performing various movements and actions, such as moving forward, turning, drawing shapes, and changing colors. The assignments are designed to help learners predict the output of the turtle graphics commands.

Uploaded by

Anu Khanna
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views4 pages

Python Turtle Module 2

The document contains a series of Python assignments using the Turtle module, each demonstrating different turtle graphics commands. Each question involves creating a turtle object and performing various movements and actions, such as moving forward, turning, drawing shapes, and changing colors. The assignments are designed to help learners predict the output of the turtle graphics commands.

Uploaded by

Anu Khanna
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Python Assignment

Topic: Turtle Module – Predict the Output


Q1
import turtle
t = [Link]()
[Link](100)

Q2
import turtle
t = [Link]()
[Link](90)
[Link](50)

Q3
import turtle
t = [Link]()
[Link](50)
[Link](90)
[Link](50)

Q4
import turtle
t = [Link]()
for i in range(4):
[Link](60)
[Link](90)

Q5
import turtle
t = [Link]()
[Link](50)
Q6
import turtle
t = [Link]()
[Link]()
[Link](100)
[Link]()
[Link](50)

Q7
import turtle
t = [Link]()
[Link]("red")
[Link](80)

Q8
import turtle
t = [Link]()
[Link](1)
[Link](60)

Q9
import turtle
t = [Link]()
[Link](50, 50)

Q10
import turtle
t = [Link]()
[Link]("turtle")
[Link](70)

Q11
import turtle
t = [Link]()
[Link](100)
Q12
import turtle
t = [Link]()
[Link](45)
[Link](100)

Q13
import turtle
t = [Link]()
for i in range(3):
[Link](70)
[Link](120)

Q14
import turtle
t = [Link]()
[Link]()
[Link](-50, -50)
[Link]()
[Link](100)

Q15
import turtle
t = [Link]()
[Link]("blue")
[Link](30)

Q16
import turtle
t = [Link]()
[Link](180)
[Link](60)

Q17
import turtle
t = [Link]()
for i in range(5):
[Link](80)
[Link](72)

Q18
import turtle
t = [Link]()
[Link]("Hello")

Q19
import turtle
t = [Link]()
[Link]()
[Link](50)

Q20
import turtle
t = [Link]()
[Link]()
[Link](100)

You might also like