Write a function in this file called nine_lines that uses the function three_lines to print a total of nine lines
#this def is called to print a free space
def new_line():
print('')
#this is called to print new three lines
def three_lines():
new_line()
new_line()
new_line()
#called to have a three lines
def nine_lines():
three_lines()
three_lines()
three_lines()
def clear_screen():
nine_lines()
three_lines()
new_line()
#below printing all need def line said above
print('.')
new_line()
print('.')
three_lines()
print('.')
nine_lines()
print('.')
clear_screen()
Comments
Leave a comment