def print_last_lines(file, number):
    """prints last lines of a file"""
    print(f'<=== {file} ===>')
    with open(file, 'r') as infile:
        for line in infile.readlines()[number:]:
            print(line, end='')
        print()
