001_how to define a var and get the type of a var
#!/usr/bin/env python
# Author:liujun
name = "liujun"
name2 = name
name = "ll"
#The value of name2 will not change if you change the value of name
name = "配置自己的模板"
print(name)
print(2**32)
#2**32 refers to 2 to the power of 32
print(type(2**32))
#type : get the type of a value or variable
print(type(name))
print(type(1.025))
posted on 2018-09-03 14:25 langjitianyadaolao 阅读(85) 评论(0) 收藏 举报
浙公网安备 33010602011771号