摘要: # 汉诺塔 a = "A" b = "B" c = "C" def hano(a, b, c, n): if n == 1: print("{} --> {}".format(a, c)) if n == 2: print("{} --> {}".format(a, c)) print("{} --> {}".format(a, b... 阅读全文
posted @ 2019-08-05 23:23 狂暴小可爱 阅读(337) 评论(0) 推荐(0)