06 2018 档案
摘要:#1. aaaFile = open('aaa.txt',mode="r",encoding='utf-8') aaaText = aaaFile.read() aaaFile.close() print(aaaText) #2. replaceList = [',','.',"'",'\n'] for c in replaceList: aaaText = aaaText.re...
阅读全文
摘要:l = ['Michael','Bob','Tracy'] l.append('Bob') l.pop() print(1) t = ('Michael','Bob','Tracy') scores = [85,65,55] d = {'Michael':85,'Bob':65,'Tracy':55} d['Bob'] = 82 d['Rose'] = 88 d.pop('Bob') p.
阅读全文
浙公网安备 33010602011771号