数据类型和变量
1):数据类型
1.整数 1
2.浮点数 1.234
3.字符串 “abcdefg”
4.布尔值 True/False
5.空值 none
2):变量:
<small>字母 = 数据类型/函数</small>
def hello():
print("helloass")
a = hello
a()
1):数据类型
1.整数 1
2.浮点数 1.234
3.字符串 “abcdefg”
4.布尔值 True/False
5.空值 none
2):变量:
<small>字母 = 数据类型/函数</small>
def hello():
print("helloass")
a = hello
a()
本文标题:Python day 2
本文链接:https://www.haomeiwen.com/subject/fvdvnftx.html
网友评论