1 #!/usr/bin/env python3 2 L = [ 3 ['Apple', 'Google', 'Microsoft'], 4 ['Java', 'Python', 'Ruby', 'PHP'], 5 ['Adam', 'Bart', 'Lisa'] 6 ] 7 8 #print Aplle: 9 print (L[0][0]) 10 11 #print Python: 12 print (L[1][1]) 13 14 #print Lisa: 15 print (L[2][2]) ~ ~
Sign in to make a reply
我要吃白菜网