Discuss / Python / 作业已交

作业已交

Topic source

猫子饼饼

#1 Created at ... [Delete] [Delete and Lock User]
#!usr/bin/env python3
# -*- coding: utf8 -*-
L = [
        ['Apple','Google','Microsoft'],['Java','Python','Ruby','PHP'],['Adam','Bart','Lisa']
    ]

# 打印Apple
print(L[0][0])
print(L[-3][-3])

# 打印Python
print(L[1][1])
print(L[-2][-3])

# 打印Lisa
print(L[2][2],L[-1][-1])

  • 1

Reply