raw_input()
print()
, print formattingChapter 1
* 1.1 python, interactive mode
* 1.2 programs (input, output, etc)
* 1.3 debugging
* 1.4 formal and natural languages
* 1.5 first program; print()
* 1.6 debugging
Chapter 2
* 2.1 values and types: int,str,float
* 2.2 variables, assignment
* 2.3 variable names
* 2.4 operators: +,-,*,/,**
* 2.5 expressions and statements
* 2.6 interavtive vs script mode
* 2.7 order of operations
* 2.8 string operations: +, *
* 2.9 comments
* 2.10 debugging (basics)
Chapter 5
* 5.11 keyboard input: raw_input()
Chapter 14
* 14.3 format operator (print formatting)
import
statement, math libraryfor
loop, range()
Chapter 3
Chapter 4
Chapter 4
def square(t)
def square(t, sidelength)
Chapter 13
random()
, randint()
, choice()
)%
)and
, or
, not
)if\elif\else
)Chapter 5
for
loops, simple functions)Chapter 6
Chapter 7
while True
+ breakChapter 13
random()
, randint()
, choice()
)Chapter 14
in
operatorChapter 8
len()
Chapter 10
list()
, split()
, join()
)a = [1,2,3]
; b = [1,2,3]
)L = L.sort()
)Chapter 9
Chapter 13
www.sorting-algorithms.com
Chapter 5
Chapter 6
Chapter 15: classes and objects
Chapter 16: classes and functions
Chapter 17: classes and methods
Chapter 18: inheritance
Appendix B: Analysis of Algorithms