汉塔台2024-02-21 07:58:40def move(n, A, B, C): if(n == 1): print(A,"-->",C) return move(n-1, A, C, B) move(1, A, B, C) move(n-1, B, A, C)n = int(input())move(n, "A", "B", "C") 上一篇:css动画常用属性下一篇:Js学习笔记一(鼠标事件.....)