test =[ [1, 2, 3], [4, 5, 6], [7, 8, 9]] #這個就可以看做是二維數組了,直接創建
print(test)
print(test[:][1]) #這里會輸出【4,5,6】
print(test[1][:]) #這里會輸出【4,5,6】
print(test[1]) #這里會輸出【4,5,6】
print(test[1][1]) #這里輸出的是5
print(test[::][1]) #這里會輸出【4,5,6】
print(test[1][::]) #這里會輸出【4,5,6】
print(test[0][0]) #這里會輸出1
#print(test[:,1]) #這里會報錯
print(len(test)) #這里輸出的是3
print(max(test[1])) #返回的是6