06 2018 档案

摘要:#1 small = open('Just A Girl.txt',mode='r',encoding='utf-8') smallText = small.read() small.close() print(smallText) #2 replaceList =['?','!',',','.', 阅读全文
posted @ 2018-06-20 21:46 三米巨人 阅读(123) 评论(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(6,'A','B','C') 阅读全文
posted @ 2018-06-13 21:01 三米巨人 阅读(113) 评论(0) 推荐(0)