标签:end dex enumerate enum style class enc pre span
# encoding=utf-8 for index,ele in enumerate([10,20,30,40]): print(index, end=‘ ‘) print(ele)
0 10
1 20
2 30
3 40
标签:end dex enumerate enum style class enc pre span
原文地址:http://www.cnblogs.com/wgDream/p/7594563.html