随笔分类 - python笔记
摘要:一、字符串 class str(basestring): """ str(object='') -> string Return a nice string representation of the object. If the argument is a string, the return v
阅读全文
摘要:一、变量赋值 a = 3 b = a a = 5 print a,b 5,3 变量命名规则: 1.显式 2.nums_of_alex_gf = 19 3.NumsOfAlexGf = 2 4.name-of-alex-gf = 22 (不合法) 5. 5name = 数字 不能开头 6. !name
阅读全文

浙公网安备 33010602011771号