|
 |
 |
 |
 |
 |
 |
 |
 |
>>> range(low, high, step)
|
|
|
Return a
list of integers [low,
low+step,…,high]
|
|
>>>
len(sequence)
|
|
|
Return
the number of elements in a sequence
|
|
|
>>> raw_input(prompt)
|
|
|
Return a
string from the user
|
|
|
>>> eval(a_string)
|
|
|
Evaluate
the python expression in the string
|
|
|
>>>
input(prompt)
|
|
|
Equivalent
to eval(raw_input(prompt))
|
|
|
|