2023年12月27日

python实现汉诺塔游戏

摘要: highlighter- python lt = list() #左边的空列表 rt = list() #右边的空列表 ct = list() #中间的空列表 #初始化函数 def init(): size = int(input("请输入你要挑战的高度:")) # 建立左边的汉诺塔 for i i 阅读全文

posted @ 2023-12-27 16:48 jack_Meng 阅读(134) 评论(0) 推荐(0) 编辑

导航