摘要:
#1 small = open('The Young Salesman.txt',mode='r',encoding='utf-8') smallText = small.read() small.close() print(smallText) #2 replaceList =['?','!',' 阅读全文
posted @ 2018-06-20 21:31
BiuBiu怪
阅读(94)
评论(0)
推荐(0)
摘要:
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(8,'A','B','C') 阅读全文
posted @ 2018-06-13 20:51
BiuBiu怪
阅读(79)
评论(0)
推荐(0)
浙公网安备 33010602011771号