Obioku ObotetteFollowOct 22, 2020·1 min read·Member-onlyMatrix Arithmetic with Python#list for reading numbersnums = []index = 0#open file#read line by line#then split to append to listwith open(“COSC450_P2_Data.txt”,”r”) as data: for x in data: array = x.split() for i in array: nums.append(int(i)) data.close()