What Will Be The Output Shape Of The Following Python Codep Pre #933
What will be the output shape of the following Python code?</p> <pre><code class="language-python">import turtle t=turtle.Pen() for i in range(0,6): t.forward(100) t.left(60)</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.4.
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)
Hexagon
Octagon
Pentagon
Heptagon