generated from mwc/lab_names
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.
This commit is contained in:
25
squares_4_separated.py
Normal file
25
squares_4_separated.py
Normal file
@@ -0,0 +1,25 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user