Fork me on GitHub
  2019年12月4日
摘要: # 什么是迭代?指的是一个重复的过程,每一次重复称为一次迭代,并且每一次重复的结果都是下一次重复的初始值# l=['a','b','c']# count=0# while count < len(l):# print(l[count])# count += 1'''abc'''# 为什么要有迭代器? 阅读全文
posted @ 2019-12-04 20:44 OBOS 阅读(101) 评论(0) 推荐(0) 编辑
摘要: # import time# def index(name):# '''index函数'''# time.sleep(1)# print('Welcome %s to China'%name)# return 521# print(help(index))'''Help on function in 阅读全文
posted @ 2019-12-04 16:01 OBOS 阅读(170) 评论(0) 推荐(0) 编辑