Discuss / Python / 作业

作业

Topic source

独具一格5

#1 Created at ... [Delete] [Delete and Lock User]

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

波凡器

#2 Created at ... [Delete] [Delete and Lock User]

'Apple' 'Python' 'Lisa'

实分微博

#3 Created at ... [Delete] [Delete and Lock User]

for i in range(len(L)): for j in range(len(L[i])): print(L[i][j]) j=j+1 i=i+1


  • 1

Reply