Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def EnterMatrixElement (M: int, N: int, i: int, j: int) -> None:
- for el_i in range(N):
- print ("( ", end="")
- for el_j in range(M):
- print( "X " if (el_i == i and el_j == j) else "* " , end="")
- print (")")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement