""" author:claire data:2022 year 06 month 24 Define a print_line Function to print * A dividing line Define a function that can print separators consisting of any character Define a function that can print split lines with any number of repetitions Print multiple split lines pycharm Add a divider to the function """
def print_line(char,times):
""" Print split lines """
print(char * times)
def print_lines(row,char,times):
""" Print multiline split lines :param row: Print a few lines :param char: Split characters used :param times: The number of times the split character is repeated """
for i in range (0,row,1):
print_line(char,times)
print_lines(5,"hi ",3)