Answered You can hire a professional tutor to get the answer.

QUESTION

Show a function in this file callednine_linesthat uses the functionthree_lines(provided below) to print a total of nine lines.

Show a function in this file called nine_lines that uses the function three_lines (provided below) to print a total of nine lines.

Now add a function named clear_screen that uses a combination of the functions nine_lines, three_lines, and new_line(provided below) to print a total of twenty-five lines. The last line of your program should call the function clear_screen.

The function three_lines and new_line are defined below so that you can see nested function calls. Also, to make counting "blank" lines visually easier, the print command inside new_line will print a dot at the beginning of the line:

def new_line():

  print('.')

def three_lines():

  new_line()

  new_line()

  new_line()

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question