Discuss / Python / 答案

答案

Topic source

rui_mao

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

>>> L=[

    ['Apple','Google','Microsoft'],

    ['Java','Python','Ruby','PHP'],

    ['Adma','Bart','Lisa']

    ]

>>> L

[['Apple', 'Google', 'Microsoft'], ['Java', 'Python', 'Ruby', 'PHP'], ['Adma', 'Bart', 'Lisa']]

>>> len(L)

3

>>> print(L[0][0])

Apple

>>> print(L[1][1])

Python

>>> print(L[2][2])

Lisa

>>>


  • 1

Reply