Q:python 3維矩陣乘法

def main(): matrix1 = [ ] matrix2 = [ ] a = input("Please enter matrix 1:") a1 = a.split() for i in range(3): list = [eval(a1[j]) for j in range(i * 3, i * 3+3)] ma
相關文章
相關標籤/搜索