摘要: 1、a=input('明文:')print( '密文:',end='')for i in a: print(chr(ord(i)+3),end='') 2、print('国际名称 GDP总量(人民币亿元)')print('{0: <5} ¥{1: >15,.4f}'.format('中国',7658 阅读全文
posted @ 2017-09-19 11:42 008马佳槟 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1、a = int(input('输入数字1-7:')) s= "星期一星期二星期三星期四星期五星期六星期日" print(s[3*(a-1):3*a]) 2、xuehao=input('请输入你的学号')g=xuehao[0:4]p=xuehao[4:8]c=xuehao[8:10]x=xueha 阅读全文
posted @ 2017-09-15 19:59 008马佳槟 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 1、五角星 import turtlefor i in range(5): turtle.forward(200) turtle.left(144) 2、同心圆 import turtlefor i in range(5): turtle.up() turtle.goto(0,-10*(i+1)) 阅读全文
posted @ 2017-09-12 11:01 008马佳槟 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 1、 >>> import turtle>>> turtle.circle(10) >>> turtle.circle(20) >>> turtle.circle(30) >>> turtle.circle(40) 2、 >>> import turtle>>> turtle.shape('turt 阅读全文
posted @ 2017-09-08 11:02 008马佳槟 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 1、input('please input your name:') please input your name:maxiaobing 'maxiaobing' 2、 a=input('输入第一个数:') 输入第一个数:1 b=input('输入第二个数:') 输入第二个数:3 sum=float 阅读全文
posted @ 2017-09-06 20:21 008马佳槟 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 1、信息:具有相互联系并且具有目的的有结构有组织的数据,信息来源于数据,由有价值的数据组成。 数据:记录客观事物、可区别的符号,可以由数字、图片、视频等 形式呈现。 2、信息:具有相互联系并且具有目的的有结构、有组织、有价值的数据。 知识:对信息进一步加工和应用,对事物内在规律和原理的 阅读全文
posted @ 2017-09-05 11:13 008马佳槟 阅读(91) 评论(0) 推荐(0) 编辑