Python Basic Number Type
Python System installation Methods
Describe all the values that can be changed
Name= ' Jin '
variable name name assignment symbol '= ' value (values) ' Jin '
#变量的三个特性:
ID Type Values
#使用实例:
Print (ID (name))
Print (Type (name))
Print (name)
String Type str is used to denote the name of the hobby descriptive thing with the STR string type representing the number type int the salary age and so on figure with int denotes floating point type float height and weight coordinates, etc. exact numbers need to be represented by floating-point
#实例:
X= ' Jin '
Print (type (x)) #打印出x是什么类型 str
X=8
Print (type (x)) #x to int
#注意
string-character str number converted to int type
Cases:
x= ' 666 ' #此时x for str type
int (x) #此时x to int type value 666 instead of ' 666 '
------day1 10 list Dictionary-----------------------------------------------
Python Basic data type