摘要:
分配参数:https://docs.python.org/3/tutorial/controlflow.html#unpacking-argument-lists 4.7.5. Unpacking Argument Lists The reverse situation occurs when th 阅读全文
posted @ 2021-06-10 22:37
花生咪6
阅读(165)
评论(0)
推荐(0)
摘要:
原文链接:https://blog.csdn.net/qq_32618817/article/details/80633848 阅读全文
posted @ 2021-06-08 21:11
花生咪6
阅读(35)
评论(0)
推荐(0)
摘要:
原文:https://www.cnblogs.com/evening/archive/2012/03/29/2423554.html 阅读全文
posted @ 2021-06-07 21:41
花生咪6
阅读(19)
评论(0)
推荐(0)
摘要:
原文:https://www.cnblogs.com/findlisa/p/10179160.html 巧妙实现杨辉三角代码 def triangles(): N=[1] #初始化为[1],杨辉三角的每一行为一个list while True: yield N #yield 实现记录功能,没有下一个 阅读全文
posted @ 2021-06-07 20:51
花生咪6
阅读(136)
评论(0)
推荐(0)
摘要:
原文链接:(转载请注明出处)https://dmego.cn/2016/10/16/hanoi 如下图所示,从左到右有A、B、C三根柱子,其中A柱子上面有从小叠到大的n个圆盘,现要求将A柱子上的圆盘移到C柱子上去,期间只有一个原则:一次只能移到一个盘子且大盘子不能在小盘子上面,求移动的步骤和移动的次 阅读全文
posted @ 2021-06-06 14:10
花生咪6
阅读(135)
评论(0)
推荐(0)
浙公网安备 33010602011771号