using python:
How to make a matrix as follows using list comprehension (user input 3 or 4): 1, 2 1, [ 1, 2, 1 1 1 n 3 1 , 1, 2, 1, 2, 1 1, Show transcribed image text How to make a matrix as follows using list comprehension (user input 3 or 4): 1, 2 1, [ 1, 2, 1 1 1
OR
OR