Discuss / Python / 作业

作业

Topic source

LingByron

#1 Created at ... [Delete] [Delete and Lock User]
#!/usr/bin/env python3
#-*- coding:utf-8 -*-
L = [
    ['Apple','Google','Michael'],
    ['Java','Python','Ruby','PHP'],
    ['Adam','Bart','Lisa']
]
#打印Apple
print(L[0][0])
#打印Python
print(L[1][1])
#打印Lisa
print(L[2][2])

python3 /home/linuxmint/文档/python_stu/homework.py

Apple
Python
Lisa

  • 1

Reply