关于作者

Discuss / Python / 打印字符串

打印字符串

问题来源

JokeOfTheTruth

#1 Created at ...

#!/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 ...

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

一个笑嘻嘻土豆

#3 Created at ...

人就是来装13的 哈哈哈


  • 1

Reply

WARNING: You are using an old browser that does not support HTML5. Please choose a modern browser (Chrome / Microsoft Edge / Firefox / Sarafi) to get a good experience.