![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Learning_Python
文章平均质量分 64
普通网友
这个作者很懒,什么都没留下…
展开
-
learning Python-Dictionaries
1. Like mapping: map values to keys(not by position)the only mapping type in Python原创 2014-11-10 20:55:15 · 445 阅读 · 0 评论 -
Expressions, and Prints-Learning Python-Chapter 11
1. In Python, you can use an expression as a statement, too—that is, on a line by itself.原创 2014-11-15 20:12:07 · 432 阅读 · 0 评论 -
while and for Loops--Learning Python-Chapter 13
While:while test: # Loop teststatements # Loop bodyelse: # Optional elsestatements # Run if didn't exit loop with break原创 2014-11-15 21:50:32 · 443 阅读 · 0 评论 -
if Tests and Syntax Rules--Learning Python chapter12
1. if : compound statements-statements embed other statements2. if is a primary selection tool in P原创 2014-11-15 21:17:29 · 382 阅读 · 0 评论 -
Introducing Python Statements---Learning Python Chapter10
1. Statements(语句): the thins you tell Python what your programs should do.原创 2014-11-15 18:29:38 · 573 阅读 · 0 评论 -
Functions Basics------Learning Python
1. Function is a device that groups a set of statements so they can be run more原创 2014-11-18 10:10:13 · 421 阅读 · 0 评论 -
Scopes-----Learning Python
1. Scopes: the places where varia原创 2014-11-18 10:48:46 · 457 阅读 · 0 评论 -
Floating Point IEEE745
Just remember, even though the printed result looks like the exact value of 1/10, the actual stored value is the nearest representable binary fraction.原创 2014-11-21 15:42:34 · 334 阅读 · 0 评论 -
Assignments-Learning Python Chapter 11
1. Assignment statement: Target of an assignment on the left, and obj原创 2014-11-15 19:20:50 · 711 阅读 · 0 评论 -
Python输入输出(IO)
zhttp://www.cnblogs.com/livingintruth/p/3264001.htmlPython输入输出(IO)程序会有输入和输出,输入可以从标准输入或是从一个文件读入数据,程序的输出可以以一种友好可读的方式(human-readable)打印出来,或是写进一个文件,而标准输入和标准输出(键盘和显示器)在程序的角度也是文件,所以程序的输入输出就是转载 2014-11-14 14:05:32 · 452 阅读 · 0 评论 -
General Type Categories_Learning Python
Three major types:Numbers(integer,floating-point,decimal,fa原创 2014-11-12 21:29:40 · 409 阅读 · 0 评论 -
learning Python-Tuple and files
1. Immutable2. ordered sequences原创 2014-11-10 21:52:45 · 406 阅读 · 0 评论 -
Learning Python-Concept of sequence,mapping and polymorphism
1. Sequence is a positionally ordered collection of objects. Strings,lists,and tuples are all sequences in Py原创 2014-11-11 10:44:36 · 371 阅读 · 0 评论 -
learning Python- types
Programs are composed of modulesModules contain statementsStatements contain exp1. numerical原创 2014-11-10 22:26:58 · 490 阅读 · 0 评论 -
Dynamic Type of Python-Part 2-Learning Python
Types Live with Objects, Not Variables原创 2014-11-11 20:38:54 · 434 阅读 · 0 评论 -
Dynamic Type of Python-Part 1-Learning Python
1. Variables,objects and referencesVariable creation:A variable (i.e.,name),like a原创 2014-11-11 20:11:04 · 439 阅读 · 0 评论 -
Learning Python-List Operation
1. List is the most general sequence provided by the language.mu原创 2014-11-10 20:24:23 · 798 阅读 · 0 评论 -
Numeric Type -Learning Python
variable doesn't need to be predeclared in Python, but they must have been assigned at least原创 2014-11-11 12:14:11 · 489 阅读 · 0 评论 -
Data Type of String
1. String Literals: single quotes, double quotes, triple quotes, escape sequences, raw literals,etc.2.原创 2014-11-12 21:43:50 · 446 阅读 · 0 评论 -
Argument Passing----Learning Python
Arguments are passed by assignment原创 2014-11-18 14:23:26 · 528 阅读 · 0 评论