41
python日常笔记-02-sq5a713d8f84180的博客-51CTO博客
source link: http://blog.51cto.com/13592158/2069284
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
#!/usr/bin/python#--coding:UTF-8--(1).'''在python中,for循环后的in跟随一个序列的话,循环每次使用的是序列元素,而不是序列的下标'''s='saflasngsagleaoiga'foriinrange(0,len(s),2):prints[i](2).'''en
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK