摘要:
# 怎么创建 listl1 =[]l2 =[0,1,2,3,4,5,6,7,8,9]l3 =[0,2,4,6,8]l5 =[1,3,5,7,9]# 查:查询已创建 listprint(type(l1),type(l2),type(l3),type(l5))print(l1,l2,l3,l5)prin 阅读全文
posted @ 2020-12-23 14:22
咫尺天涯$
阅读(103)
评论(0)
推荐(0)
|
摘要:
# 怎么创建 listl1 =[]l2 =[0,1,2,3,4,5,6,7,8,9]l3 =[0,2,4,6,8]l5 =[1,3,5,7,9]# 查:查询已创建 listprint(type(l1),type(l2),type(l3),type(l5))print(l1,l2,l3,l5)prin 阅读全文
posted @ 2020-12-23 14:22
咫尺天涯$
阅读(103)
评论(0)
推荐(0)
摘要:
1.行与缩进 if True: print ("True") else: print ("False") 2.注释 # 在某一段话前方第一个位置添加注释 3.数据类型 数字:int (整数) 字符串:string 4.基础语法-接收键盘输入内容 age =input("请输入年龄:") print( 阅读全文
posted @ 2020-12-23 14:18
咫尺天涯$
阅读(64)
评论(0)
推荐(0)
|