Student Name: Callum Sullivan
Student Number: 1903417

3a)
print("Please enter the Rectangle Length and Width (in order)")
rL = float(input())
rW = float(input())
print("Please enter the Triangle Base and its Height (in order)")
tB = float(input())
tH = float(input())

def areaRect(rL, rW):
    area = rL * rW
    return(area)
def areaTri(tB, tH):
    area = .5 * tB * tH
    return(area)


shape1 = areaRect(rL,rW)
shape2 = areaTri(tB, tH)

shapeTotal = shape1 + shape2

print(shapeTotal, " is the total area of the shape.")


3b)
from turtle import *

frank = Turtle()

screen = Screen()
screen.setup(500, 500)

move = 5
turn = 90

for i in range(27):
    frank.forward(move)
    frank.left(turn)
    move = move + 3
    