generated from mwc/lab_iteration
It wasnt't that difficult. I took CSE 115 over the summer where we learned python.I just used the note for the class to refreash my knowledge of loop.
11 lines
165 B
Python
11 lines
165 B
Python
from turtle import *
|
|
|
|
def square(side_length):
|
|
for i in [1,2,3,4]:
|
|
forward(side_length)
|
|
right(90)
|
|
square(200)
|
|
square(150)
|
|
square(100)
|
|
square(50)
|