  
"""
Init an array with the same content to all elements
"""
arr1 = [7]*4
print(arr1)     # -> [7, 7, 7, 7]


"""
Init a matrix with the same content to all elements
"""
matrix1=[[7]*2]*3 
print(matrix1)   # -> [[7, 7], [7, 7], [7, 7]]
87c527579a3118ef093342df6ae2be6baa452c39
<mask token>

<mask token>
print(arr1)
<mask token>
print(matrix1)

<mask token>
arr1 = [7] * 4
print(arr1)
<mask token>
matrix1 = [[7] * 2] * 3
print(matrix1)

  
"""
Init an array with the same content to all elements
"""
arr1 = [7]*4
print(arr1)     # -> [7, 7, 7, 7]


"""
Init a matrix with the same content to all elements
"""
matrix1=[[7]*2]*3 
print(matrix1)   # -> [[7, 7], [7, 7], [7, 7]]