Vidyalelo
Python · Q33

Module in Python

Programming · Python · question 33

Q33

What will be the output of the following Python code? import turtle t=turtle.Pen() t.color(0,1,0) t.begin_fill() for i in range(0,4): t.forward(100) t.right(90)

A.
A square filled in with the colour green
B.
A square outlined with the colour green
C.
Blank canvas
Answer
D.
Error

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board