Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def permut(A):
- B=1*A
- for i in range(A.nrows()):
- B[i,0]=A[i,A.ncols()-1]
- B[i,A.ncols()-1]=A[i,0]
- return B
- show(A)
- show(permut(A))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement