Files
lab_names/squares_4_separated.py
kathrynoh23 579af5cbfa Kathryn Odell-Hamilton
7.30.23

7.22.23 Completed file: circle_area.py

Checkpoint 1: circle_area.py

I don't recall the original file information because of the errors
submitting. I believe the coding was to add pi #, add code to get
circle area, and print circle_area. Once you input number for circle
radius, circle_area.py formulates the answer.
2023-07-30 12:32:00 -04:00

26 lines
290 B
Python

from turtle import *
def square():
forward(100)
right(90)
forward(100)
right(90)
forward(100)
right(90)
forward(100)
right(90)
square()
penup()
forward(120)
pendown()
square()
penup()
forward(120)
pendown()
square()
penup()
forward(120)
pendown()
square()