Examveda

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

B. 9, 10

C. 9, 9

D. 10, 10

Answer: Option A


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python