Lab4

screenshots:

 

sources codes:

def print_beam() :
#this function prints a beam”””
print ‘+ – – – – + – – – – +’
def print_post() :
#this function prints a post”””
print ‘ |         |          |’

print_beam()
print_post()

print_beam()
print_post()
print_post()
print_post()

print_beam()
print_post()
print_post()
print_post()
print_post()

print_grid()
print_row()
print_row()
print_beam()

Leave a Reply

Your email address will not be published. Required fields are marked *