摘要: 1.数据类型 number str dict set list bool number -- > int float complex str 2.num类型的使用 # int 整型 (正整数 0 负整数) intvar = 256 print(intvar) # type 获取一个值的类型 res 阅读全文
posted @ 2020-06-19 23:26 jalen-tian 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1.python注释和变量 # ### 注释: 就是对代码的解释。方便大家阅读代码; # (1) 注释的分类 : 1单行注释 2.多行注释 # 1单行注释 # python2.x print "123456" # python3.x print("123456") print("hello worl 阅读全文
posted @ 2020-06-19 22:49 jalen-tian 阅读(126) 评论(0) 推荐(0) 编辑