Question #237142

Write a function in this called nine_lines that uses the function three_lines to print a total of nine lines .


Expert's answer

def new_line():


  print('')






def three_lines():


  new_line()


  new_line()


  new_line()






def nine_lines():


  three_lines()


  three_lines()


  three_lines()


   


def clear_screen():


  nine_lines()


  three_lines()


  new_line()






   


   






print('.')


new_line()


print('.')


three_lines()


print('.')


nine_lines()


print('.')


clear_screen()

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS