Discuss / Python / ZJH

In [30]: L = [ ['Apple', 'Google', 'Microsoft'], ['Java', 'Python', 'Ruby', 'PHP'], ['Adam', 'Bart', 'Lisa'] ] In [32]: L[0][0] Out[32]: 'Apple'

In [33]:L[1][1] Out[33]: 'Python' In [35]:L[2][2] Out[35]: 'Lisa'


  • 1

Reply