摘要:
List 也就是数组,但是这个数组是动态的,用中括号与逗号创建。 Python knows a number of compound data types, used to group together other values. The most versatile is the list, wh 阅读全文
随笔档案-2015年12月
003: 基本类型-字符串类型
2015-12-29 21:37 by Miles.Yao, 281 阅读, 收藏,
摘要:
1)They can be enclosed in single quotes ('...') or double quotes ("...") with the same result. \ can be used to escape quotes 2)If you don’t want char 阅读全文
002: 基本类型-数值型(int, float)
2015-12-29 19:18 by Miles.Yao, 439 阅读, 收藏,
摘要:
基本类型中数值类型有 int, float, Decimal, Fraction其中int 和 float 是比较常见的类型, 而Decimal 和 Fraction 不是那么常见, 所以暂时学习int 和 float.Division (/) always returns a floatTo do... 阅读全文
001: Hello World
2015-12-29 18:27 by Miles.Yao, 172 阅读, 收藏,
摘要:
今天下决心从零开始学习Python, 为了以后方便复习,所以记录学习的过程。操作系统环境:Windows 7Python 版本:3.4开发工具: Sublime Text 3; Cmder看了下Python的简单介绍,个人感觉它是一种把Javascript中比较好的特性融合到一般高级编程语言中而形成... 阅读全文
浙公网安备 33010602011771号