Discuss / Python / 打印字符串

打印字符串

Topic source

#!/usr/bin/env python3

-- coding: utf-8 --

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

康brother

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

还有这种操作的吗 教程里面又没讲你怎么知道的 应该不会有高手单纯专门过来炫技的

人就是来装13的 哈哈哈

涨姿势了。


  • 1

Reply