3 lines
94 B
Python
3 lines
94 B
Python
|
|
def board(vec):
|
||
|
|
print ("\n".join('.' * i + 'Q' + '.' * (n-i-1) for i in vec) + "\n===\n")
|