03 2018 档案

摘要:挨个访问,直到没有出现StopIteration错误。 while true: try: each=next(it) except StopIteration: break print(each) for each in string: print(each) 阅读全文
posted @ 2018-03-09 22:16 倾城、殇满泪 阅读(109) 评论(0) 推荐(0)
摘要:有返回值的是函数,没返回值的是过程。 python中的都是函数,如无return值返回none对象 阅读全文
posted @ 2018-03-02 16:32 倾城、殇满泪 阅读(104) 评论(0) 推荐(0)