Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Transpose matrix
#python 3.6.9 m = [[1,2],[3,4],[5,6]] for row in m : print(row) rez = [[m[j][i] for j in range(len(m))] for i in range(len(m[0]))] print("\n") for row in rez: print(row)
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Q1
Rhymes child
5
fb_series
ganesh
BMO1 Q1 1994
Bmi calculator dictionary
lesson3 part3
check this converting week number (int) into week day name (string) [solved]
Venture
Please log in to post a comment.