05 2018 档案

摘要: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 ... 阅读全文
posted @ 2018-05-30 21:43 赵敏婷 阅读(115) 评论(0) 推荐(0)
摘要:idno ='440000199804024147' 地区=idno[0:6] 生日=idno[6:14] 性别=idno[-2] print(地区,生日,性别) if(int(性别) % 2 == 0): print('girl') else: print('boy') for i in range(12): print(9800+i,chr(9800+i)) s... 阅读全文
posted @ 2018-05-23 21:21 赵敏婷 阅读(126) 评论(0) 推荐(0)
摘要:import turtle turtle.setup (600,400,0,0) turtle.bgcolor('red') turtle.pencolor('yellow') turtle.fillcolor('yellow') def mygoto(x,y): turtle.penup() turtle.goto(x,y) turtle.pendown(... 阅读全文
posted @ 2018-05-17 00:27 赵敏婷 阅读(144) 评论(0) 推荐(0)
摘要:import turtle turtle.setup(600,400,0,0) turtle.bgcolor('black') turtle.pencolor('yellow') turtle.fillcolor('yellow') turtle.begin_fill() turtle.penup() import turtle turtle.bgcolor('black')... 阅读全文
posted @ 2018-05-09 20:38 赵敏婷 阅读(200) 评论(0) 推荐(0)
摘要:fangjia= 7 while True: import turtle turtle.begin_fill() turtle.circle(30) turtle.color('yellow') turtle.end_fill() turtle.circle(75) turtle.penup() turtle.color('black') turtle.goto(100,0) ... 阅读全文
posted @ 2018-05-02 21:43 赵敏婷 阅读(166) 评论(0) 推荐(0)