标签:图片 技术分享 png style 游戏 IV 分享 col color
def hanoi(n,a,b,c): if n==1: print(n,a+‘->‘+c) else: hanoi(n-1,a,c,b) print(n,a+‘->‘+c) hanoi(n-1,b,a,c)
递归,汉诺塔游戏
原文地址:https://www.cnblogs.com/fkfkfk/p/9180155.html