Question #190329

a) Write a function that takes a 2D list(matrix) of 3x3 and ask user to input the

values


Expert's answer

lst = []
n = int(input("Enter integer: "))
while n!=-1:
    lst.append(n)
    n = int(input("Enter integer: "))
print(lst)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS