Guest User

Untitled

a guest
Oct 20th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. def function(a,j,i):
  2. if i is not None and j is not None:
  3. return a
  4. elif i is not None and j is None:
  5. return a[i-1]
  6. elif i is None and j is not None:
  7. return a[:,j-1]
Add Comment
Please, Sign In to add comment