I haven't been able to find out anything on this.
I would like to know how to use a function (e.g. clear_screen
) that can print out 20 blank lines.
The last line of my program should be a call to clear_screen
.
The start of my code is:
def new_line():
print
def three_lines():
new_line()
new_line()
new_line()
def nine_lines():
three_lines()
three_lines()
three_lines()
print " "
nine_lines()
print " "
The print function works, but not with clear_screen()
and that's what I need working.
If anyone can help me or have any suggestions, that would be great, thanks.