+ 2

Modify and improve

Rewrite this code to produce a more concise version https://code.sololearn.com/cCgkCUygzY54/?ref=app

13th Nov 2019, 9:24 AM
Nwanakwoakwo Wid'obiagu (kenneth Anyanwu)
Nwanakwoakwo Wid'obiagu (kenneth Anyanwu) - avatar
2 Réponses
+ 3
~ swim ~ [print(''.join(i)) for i in zip(*grid)]
13th Nov 2019, 3:52 PM
Diego
Diego - avatar
0
use this code: for j in range(0,6): x=' ' for i in range(0,len(grid)): x+=grid[i][j] print(x)
14th Nov 2019, 5:36 PM
Mohammad Gk
Mohammad Gk - avatar