Question: Please help me to correct it with python [ 8 8 ] : import random def displaymatrix ( n ) : matrix = [ [
Please help me to correct it with python
: import random
def displaymatrixn:
matrix randomrandint for in rangen for in rangen
return matrix
def printmatrixmatrix:
for i in rangematrix:
for j in rangematrix:
printrandomrandint end
print
def main:
size intinputEnter the size of the matrix :
printmatrix
if namemain:
main
Enter the size of the matrix :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
