会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
zhhhhmmmff
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2018年5月30日
列表实例
摘要: import turtle turtle.speed(10) colors = ['red', 'purple', 'blue', 'green' , 'yellow', 'orange'] for i in range(200): turtle.pencolor(colors[i% 6]) tur
阅读全文
posted @ 2018-05-30 21:35 zhhhhmmmff
阅读(96)
评论(0)
推荐(0)
编辑
文件操作2
摘要: fr = open('zhhh.txt',mode='r',encoding='utf-8') plaincode = fr.read() print('miwen:' + plaincode) print('mingwen:',end='') for c in plaincode: print(c
阅读全文
posted @ 2018-05-30 21:20 zhhhhmmmff
阅读(77)
评论(0)
推荐(0)
编辑
文件操作
摘要: fr = open('letter222.txt',mode='r',encoding='utf-8') plaincode = fr.read() print('明文:' + plaincode) print('密文:',end='') for c in plaincode: print (chr
阅读全文
posted @ 2018-05-30 21:10 zhhhhmmmff
阅读(55)
评论(0)
推荐(0)
编辑