摘要: 1.基础数字类型int:用于计算,计数,运算等。1,2,3,100...str:'这些内容'用户少量数据的存储,便于操作。bool:True,False两种状态,机器反馈给用户的对,错。list:[1,'student',True,[ ],( ),{ }...]大量的数据,各种数据类型,操作方便。t 阅读全文
posted @ 2020-05-10 17:05 菜鸟鸭 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 1.判断下列逻辑语句的True,False 1) 1>1 or 3<4 or 4>5 and2>1 and 9>8 or 7<6 True 2) not 2>1 and 3<4 or 4>5 and 2>1 and 9>8 or 7<6 False 2.求出下列逻辑语句的值 1)8 or 3 and 阅读全文
posted @ 2020-05-10 12:04 菜鸟鸭 阅读(226) 评论(0) 推荐(0) 编辑