2018年7月25日

基本数据类型 (int , bool, str)

摘要: 1.基本数据类型 1 int 整数 2 str 字符串 ', '', ''', """, 字符串一般不存储大量数据 ,不容易操作 3 bool 布尔值, Ture,False 4 list [] 列表([]里放列表的值) list["sylar",'太白',1,Ture,(),{}] 5 tuple 阅读全文

posted @ 2018-07-25 15:22 L-ance 阅读(180) 评论(0) 推荐(0)

运算符和编码

摘要: 1.写一个判断3次输入语句 2.写一个登陆程序 3.两个程序结合 #判断3次输入语句 count=3 while count>0: count=count-1 print("您还有%s次机会"%(count)) #登录程序 1 username = input('please input your 阅读全文

posted @ 2018-07-25 15:10 L-ance 阅读(226) 评论(0) 推荐(0)

导航