Discuss / Python / 练习(list and tuple)

练习(list and tuple)

Topic source

叫我_小军

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

L = [ ['Apple','Google','Microsoft'], ['Java','Python','Ruby','PHP'], ['Adam','Bart','Lisa'] ]

#打印Apple、Python、Lisa: print(L[0][0],L[1][1],L[2][2])


  • 1

Reply