+ 2
Modify and improve
Rewrite this code to produce a more concise version https://code.sololearn.com/cCgkCUygzY54/?ref=app
2 Answers
+ 3
~ swim ~
[print(''.join(i)) for i in zip(*grid)]
0
use this code:
for j in range(0,6):
x=' '
for i in range(0,len(grid)):
x+=grid[i][j]
print(x)