Discuss / Python / 课后作业

课后作业

Topic source

毛线qwe

#1 Created at ... [Delete] [Delete and Lock User]

不是逻辑推理出来的, 找规律.....递归太费脑了啊

if n == 1:
        print(a, '-->', c)
    else:
        return move(n - 1, a, c, b),move(1, a, b, c),move(n -1, b, a, c)

  • 1

Reply