Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = [['Name', 1, 2, 3, 4, 5],
- ['qwer', '+', '-', '+', '-', '-'],
- ['qqq', '+', '+', '+', '+', '+'],
- ['aaa', '-', '-', '-', '-', '-']]
- for array in a:
- for chunk in range(0, len(array)):
- if chunk == 0:
- print('{}\t'.format(array[chunk]), end=' ')
- else:
- print('{}'.format(array[chunk]), end=' ')
- print(end='\n')
Advertisement
Add Comment
Please, Sign In to add comment