Guest User

Untitled

a guest
Dec 14th, 2016
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. a = [['Name', 1, 2, 3, 4, 5],
  2.      ['qwer', '+', '-', '+', '-', '-'],
  3.      ['qqq', '+', '+', '+', '+', '+'],
  4.      ['aaa', '-', '-', '-', '-', '-']]
  5.  
  6. a = [['Name', 1, 2, 3, 4, 5],
  7.      ['qwer', '+', '-', '+', '-', '-'],
  8.      ['qqq', '+', '+', '+', '+', '+'],
  9.      ['aaa', '-', '-', '-', '-', '-']]
  10.  
  11. for array in a:
  12.     for chunk in array:
  13.         print('{:^5}'.format(chunk), end='')
  14.     print(end='\n')
Advertisement
Add Comment
Please, Sign In to add comment