pihta24

Матрица

Feb 2nd, 2021
575
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. def matrix(n=1, m=None, a=0):
  2.     return [[a for _ in range(m if m else n)] for _ in range(n)]
Advertisement
Add Comment
Please, Sign In to add comment