from turtle import * from ex3 import draw_square for i in range(30): draw_square(i * 5, 'red') left(17) penup() forward(i * 2) pendown()
import ex3 for i in range(30): ex3.draw_square(i * 5, "red") left(17) penup() forward(i * 2) pendown()
from ex3 import draw_square from turtle import * for i in range(30): draw_square(i * 5, "red") left(17) penup() forward(i * 2) pendown() mainloop()
from turtle import * from ex3 import draw_square for i in range(30): draw_square(i * 5, 'blue') left(17) penup() forward(i * 2) pendown()