摘要: def welcome(n): if n>1: welcome(n-1) print(f"你好啊{n}") welcome(5) n=5时,判断n>1,进入递归,第4行代码进入待执行栈结构中 .... n=2时,判断n>1,条件成立,第4行代码进入待执行栈结构中("你好啊2") n=1时,判断n>1 阅读全文
posted @ 2025-11-03 22:46 iTao0128 阅读(5) 评论(0) 推荐(0)
摘要: python中的内置函数: https://docs.python.org/zh-cn/3.13/library/functions.html python中的模块: https://docs.python.org/zh-cn/3.13/py-modindex.html 阅读全文
posted @ 2025-11-03 11:12 iTao0128 阅读(6) 评论(0) 推荐(0)