Examveda

What will be the output shape of the following Python code?
import turtle
t=turtle.Pen()
for i in range(0,6):
	t.forward(100)
	t.left(60)

A. Hexagon

B. Octagon

C. Pentagon

D. Heptagon

Answer: Option A


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python