Creating 3x3 Matrix in Python || Python

 

In this we are going to see a program on how to Create 3x3 Matrix in Python in Python Programming Language.


matrix = []
for i in range(3):
    x,y,z = map(int, input("Enter 3 values: ").split())
    matrix.append([x,y,z])

print(matrix)

# Coded By Dhiraj Shelke

#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post