[tranining] Python – saving input number in matrix

  list1 = []  sizeNum = int(input("Please input the size of matrix: "))    for i in range(sizeNum):      valueNum = int(input("Please input the value: "))      list1.append(valueNum)    print(list1)  

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.