摘要: Itisnotsafetomodifythesequencebeingiteratedoverintheloop(thiscanonlyhappenformutablesequencetypes,suchaslists).Ifyouneedtomodifythelistyouareiteratin... 阅读全文
posted @ 2012-12-30 19:59 完美视界 阅读(154) 评论(0) 推荐(0)
摘要: Python’sforstatementiteratesovertheitemsofanysequence(alistorastring),intheorderthattheyappearinthesequence. 阅读全文
posted @ 2012-12-30 19:43 完美视界 阅读(228) 评论(0) 推荐(0)