Discuss / Python / 交作业

交作业

Topic source

外客网

#1 Created at ... [Delete] [Delete and Lock User]
# -*- coding: utf-8 -*-

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

  • 1

Reply