请用索引取出下面list的指定元素,分别为Apple,Python,Lisa

# -*- coding: utf-8 -*-
# 请用索引取出下面list的指定元素

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

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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2021-07-06
猜你喜欢
  • 2021-12-19
  • 2021-08-11
  • 2022-01-05
  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案