Vidyalelo
Python · Q30

Module in Python

Programming · Python · question 30

Q30

The number of lines drawn in each case, assuming that the turtle module has been imported: Case 1: for i in range(0,10): turtle.forward(100) turtle.left(90) Case 2: for i in range(1,10): turtle.forward(100) turtle.left(90)

A.
10, 9
Answer
B.
9, 10
C.
9, 9
D.
10, 10

Answer: Option A

Solution

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