What Will Be The Output Shape Of The Following Python Codep Pre #907
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(1,4): t.forward(60) t.left(90)</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.1.
What will be the output shape of the following Python code?
import turtle t=turtle.Pen() for i in range(1,4): t.forward(60) t.left(90)
Rectangle
Trapezium
Triangle
Square