摘要: n = int(input())count = 0def han(n,a,b,c): global count if n == 1: print("将第{}个从{}搬到{}".format(1,a,c)) count += 1 else: hanoi(n-1,a,c,b) print("将第{}个从 阅读全文
posted @ 2020-03-31 19:54 Xiao_kong 阅读(124) 评论(0) 推荐(0) 编辑