18_7_25_python中len与range合用

您可以结合range()和len()函数以遍历一个序列的索引,如下所示:

实例

 

posted on 2018-07-25 16:29  山顶的乌龟很孤独  阅读(146)  评论(0)    收藏  举报

导航