Discuss / Python / 作业3

作业3

Topic source

孤o赦免你

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

L = [

    ['Apple', 'Google', 'Microsoft'],

    ['Java', 'Python', 'Ruby', 'PHP'],

    ['Adam', 'Bart', 'Lisa']

]

# 打印Apple

print(L[0][0])

# 打印Python

print(L[1][1])

# 打印Lisa

print(L[-1][-1])


  • 1

Reply