Discuss / Python / 我的

我的

Topic source

-- coding: utf-8 --

L = [ ['Apple','Google','Microsoft'], ['Java','Python','Ruby','PHP'], ['Adam','Bart','Lisa'] ] s1 = L[0][0] s2 = L[1][1] s3 = L[2][2] print('''#打印Apple: %s

#打印Python: %s

#打印Lisa: %s'''%(s1,s2,s3))


  • 1

Reply