Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def print_seating(rows, seats, seating):
- seating_num = 0
- for i in range(rows):
- seating_num += 1
- print('{:>2}{}'.format(seating_num, SPACE*3), end = '')
- for j in range(seats):
- seats_l = seating[i][j]
- print(seats_l, end = ' ')
- for j in range(seats):
- print(end = ' ')
- for j in range(seats, seats * 2):
- seats_r = seating[i][j]
- print(seats_r, end = ' ')
- print()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement