标签:forward .com col nbsp code image ack IV speed
fr=open(‘马骝.txt‘,mode=‘r‘,encoding=‘utf-8‘) plaincode=fr.read() fr.close() fw=open(‘大马骝.txt‘,mode=‘a‘,encoding=‘utf-8‘) for c in plaincode: fw.write(chr(ord(c)+3)) fw.close() import turtle turtle.speed(20) colors=[‘#B22222‘,‘#9A32CD‘,‘#32CD32‘,‘#00FFFF‘,‘#6B8E23‘,‘#4169E1‘] for i in range(200): turtle.pencolor(colors[i% 6]) turtle.forward(i) turtle.left(58) turtle.done() classmates = [‘Michael‘, ‘bob‘,‘tracy‘] #print(len(classmates)) #print(classmates[-1]) (classmates).append(‘rose‘) classmates.insert(1,‘jack‘) classmates.pop() classmates.pop(0) classmates[0]=‘tom‘ print(classmates)
标签:forward .com col nbsp code image ack IV speed
原文地址:https://www.cnblogs.com/mintine/p/9113720.html