@staticmethod
def as_table(timetable):
    """Print the timetable as a table"""
    print('-' * 41)
    print('|   Leaves   |   Arrives  |     Line    |')
    print('-' * 41)
    for tt in timetable:
        print('|%(leave)10s  |%(arrive)10s  |%(train)08s     |' % tt)
        print('-' * 41)
