Computer Science, asked by throwaway22222, 6 months ago

10.4 Edhesive: (Python)
The only thing I have currently is:
a = [[34,38,50,44,39],
[42,36,40,43,44],
[24,31,46,40,45],
[43,47,35,31,26],
[37,28,20,36,50]]


def PrintIt(x):
for r in range(len(x)):
for c in range(len(x[0])):
print(x[r][c], end = " ")
print("")

def SwapRows(x, row, col):
for i in range(len(x[0])):
temp = x[row]

PrintIt(a)

And I basically know it's wrong.
Our unit ends around this Sunday, so I'm a bit in a rush right now, any help would be nice :-)

Attachments:

Answers

Answered by Anonymous
2

Answer:

it is not understanable bro sorry ♥

Similar questions