Vidyalelo
Python · Q95

Module in Python

Programming · Python · question 95

Q95

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

A.
Blank page
Answer
B.
A triangle filled in with the colour yellow
C.
A triangle which is not filled in with any colour
D.
Error

Answer: Option A

Solution

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