05 2018 档案

摘要:fr = open('huang.txt',mode='r',encoding='utf-8') huang = fr.read() print(huang) print('密文:',end='') for c in huang: print(chr(ord(c)+3),end='') 明天早上坐火车去长沙,我们可以在那边玩三天三夜,吃辣的东西,吃冰的东西。 密文:"昑夬旬不... 阅读全文
posted @ 2018-05-28 16:48 youuoy 阅读(126) 评论(0) 推荐(0)
摘要:stuNum = '43048219981027508X' print('所在省市:'+stuNum[0:2]) print('所在地区:'+stuNum[2:4]) print('所在县区:'+stuNum[4:6]) print('出生日期年:'+stuNum[6:10]) print('出生日期月:'+stuNum[10:12]) print('出生日期日:'+stuNum[12:14]... 阅读全文
posted @ 2018-05-21 16:04 youuoy 阅读(153) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-05-14 16:05 youuoy 阅读(79) 评论(0) 推荐(0)
摘要:>>> import turtle >>> turtle.setup(600,400,0,0) >>> turtle.bgcolor("red") >>> turtle.color("yellow") >>> turtle.fillcolor("yellow") >>> turtle.begin_fill() >>> for i in range(5): turtle.forward(200)... 阅读全文
posted @ 2018-05-07 16:58 youuoy 阅读(133) 评论(0) 推荐(0)
摘要:while True: a = int(input('请猜一个100以内的数:')) if a>43: print('你猜的太大了') elif a>> import turtle >>> turtle.circle(50) >>> turtle.circle(100) >>> turtle.done() >>> import turtle >... 阅读全文
posted @ 2018-05-07 16:19 youuoy 阅读(153) 评论(0) 推荐(0)