摘要:
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) hanoi(6,'A','B','C') 阅读全文
摘要:
描述:1,列表可以包括任何数据类型 可以排序 随意组合 2,元组就是将各个数据的值与数据一起分组 3,字典就是能查找各个数据 4,集合就是将各个数据集合成一组 阅读全文