关于作者

Discuss / Python / 作业

作业

Topic source

快乐的杀马特

#1 Created at ...

L = [ ['Apple', 'Google', 'Microsoft'], ['Java', 'Python', 'Ruby', 'PHP'], ['Adam', 'Bart', 'Lisa'] ] print(L[0][0]) print(L[1][1]) print(L[2][2])

比较简单,就是要注意格式:L[竖排位数][横排位数],位数是从0开始数。


  • 1

Reply

WARNING: You are using an old browser that does not support HTML5. Please choose a modern browser (Chrome / Microsoft Edge / Firefox / Sarafi) to get a good experience.