摘要: 1、 a = str(input("请输入姓名:"))b= str("你好!")c = b + aprint("{:*^20} ".format (c))2、 a = 45.66666c = 45.4444s = int(c + 0.5)b = int(a + 0.5)print(a)print(c 阅读全文
posted @ 2018-12-04 20:27 优美少爷 阅读(122) 评论(0) 推荐(0)
摘要: 一 、python历史背景 1、创始人:Guido van rossum 龟叔 2、创始时间:1989年 3、特点:简单,明确, 优雅 4、解释型语言,高级语言 二、Python的基本数据类型 1、布尔类型 True False 输出 True 输出 False 2、数值类型 int (155) f 阅读全文
posted @ 2018-12-04 19:31 优美少爷 阅读(129) 评论(0) 推荐(0)