In my opinion this lab wasn’t hard. I didn’t have any errors because all i had to do is put in the beam, grid, and a post. In addition i had to define them. I successfully got it right from the first try. Heres the code.
def print_beam():
“This function prints a beam”
print (‘+ – – – – + – – – – +’)
def print_post():
“This function prints a post”
print (‘| | |’)
def print_posts():
“This function prints all posts”
print_post()
print_post()
print_post()
print_post()
def print_grid():
“This function prints a grid”
print_beam()
print_posts()
print_beam()
print_posts()
print_beam()