Reference no: EM132330253
Question
Show a function in this file called nine_lines that uses the function three_lines (provided below) to print a total of nine lines.
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()
It is very helpful if print placeholder between the printing of 9 lines and the printing of 25 lines. It will make output easier to read for my peer assessors. A placeholder can be output such as "Printing nine lines" or "Calling clearScreen()".
the assignment implement new_line, three_lines, nine_lines, and clear_screen functions, as well as a main section of the program which calls the functions.( true or false)
the assignment demonstrate the use of nested function calls( true or false)
the assignment produce the appropriate output when executed. ( true or false)
The successful script will print out 25 "." lines.( true or false)