What Will Be The Output Of The Following Python Codep Pre #913
What will be the output of the following Python code?</p> <pre><code class="language-python">import turtle t=turtle.Pen() t.color(0,0,1) t.begin_fill() t.circle(15) t.end_fill()</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Modules - Python Turtle Module - Quiz No.2.
What will be the output of the following Python code?
import turtle t=turtle.Pen() t.color(0,0,1) t.begin_fill() t.circle(15) t.end_fill()
Error
A circle filled in with the colour red
A circle filled in with the colour blue
A circle filled in with the colour green