What will be the output shape of the following Python code?
import turtle
t=turtle.Pen()
for i in range(0,4):
t.forward(100)
t.left(120)
import turtle
t=turtle.Pen()
for i in range(0,4):
t.forward(100)
t.left(120)A. square
B. rectangle
C. triangle
D. kite
Answer: Option C

Join The Discussion