Run Code
|
API
|
Code Wall
|
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
Type
Convert list into set
My name
Find numbers with given sum of digits
test1.py
p1
24jan py
https://rextester.com/OSAX55060
Assignment-2b
list of primes