摘要:
转载: 老男孩 Python 基础知识练习(三):https://www.cnblogs.com/nulige/p/6128674.html 1、列举布尔值为 False 的值空,None,0, False, '', [], {}, () 2、写函数:根据范围获取其中 3 和 7 整除的所有数的和, 阅读全文
posted @ 2019-11-28 20:42
月零Ray
阅读(656)
评论(0)
推荐(0)
摘要:
import time def consumer(name): print('我是[%s],我准备开始吃包子了' %name) while True: baozi=yield time.sleep(1) print('%s 很开心的把【%s】吃掉了' %(name,baozi)) def produ 阅读全文
posted @ 2019-11-28 20:10
月零Ray
阅读(128)
评论(0)
推荐(0)
摘要:
转载:https://www.jianshu.com/p/ccb5e7da3fd8 https://www.cnblogs.com/xhcdream/p/8304953.html https://www.cnblogs.com/wushuaishuai/p/9212812.html send方法和n 阅读全文
posted @ 2019-11-28 12:05
月零Ray
阅读(258)
评论(0)
推荐(0)
浙公网安备 33010602011771号