摘要: 数据的类型: 1.int:#1 2 3 用于计算。 2.bool:# True/False 用于判断。 3.str: #'wegrht' 储存少量的数据,便于操作。 4.list:#[1,2,3] 储存大量的数据。 5.元祖:#(1,2,3) 储存大量的数据,但只读,不能修改,一般用来储存重要的数据 阅读全文
posted @ 2020-04-16 22:04 Alisa77 阅读(103) 评论(0) 推荐(0)
摘要: 昨天的作业 1.使用while循环输入123456 8910 count = 0 while count < 10: count = count+1: if count == 7: print(' ') else: print(count) 2 使用while循环输入1234568910 count 阅读全文
posted @ 2020-04-01 19:07 Alisa77 阅读(124) 评论(0) 推荐(0)
摘要: 一些需要知道的知识 python用来写应用程序,崇尚简洁优美清晰,是一门动态解释型的强类型定义语言 1.编译型语言:一次性将程序编译成二进制文件,(例如:C/C++) 优点:运行速度快 缺点:开发速度慢,不能跨平台 2.解释型语言:当程序运行时,从上到下逐行解释成二进制文件(例如:python、ph 阅读全文
posted @ 2020-03-30 19:32 Alisa77 阅读(110) 评论(0) 推荐(0)