Solution to coding challenge 3

for x in range(5):     
    print('I am a programmer')    

solution for task 2:

 def display_square():
    for x in range(1,10):        
        print(x*x)
 display_square()