摘要: 1、An assignment statement creates a new variable and gives it a value: Variable names can be as long as you like. They can contain both letters and nu 阅读全文
posted @ 2016-04-10 17:21 zxpo 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 3.1 built-in function type(42)=> <class 'int'> int('32')=>32 int(3.9) => 3 int(-2.3)=>-2 float(32)=> 32.0 float('3.14159')=>3.14159 str(32) => '32' st 阅读全文
posted @ 2016-04-10 17:08 zxpo 阅读(175) 评论(0) 推荐(0) 编辑