Anonymous function
Anonymous function, he has no name binding, ie, once recovered, either bracketed run.
the lambda X, Y: X + Y # error RES = ( the lambda X, Y: X + Y) ( . 1, 2) Print ( RES) # not given
Built-in functions
1. bytes ()
# decoded character
2. CHR () / the ord ()
# the ASCII: Digital Switch character / characters into digital
3. divmod ()
# quotient and the remainder were taken
4. the enumerate ()
# with indexes iteration
5. the the eval ()
# string type outermost periphery removing marks
6. the the hash ()
# hash whether ABS () # absolute value all () within the object elements are all true # true any ( ) # object as long as there is an element of truth, true bin () / the OCT () / hex () # binary, octal, hexadecimal dir () # list all the time function frozenset () # immutable set of globals () / loacals () # View global name; see local name pow ()
# Power function, taking x represents the power of y obtained, if the third parameter z is present, then the result of the exponentiation modulo third parameter
round ()
# rounded
Slice ()
# slice function
SUM ()
# summation
import ()
# import module string
Process-oriented programming
Process-oriented programming, programming is the core word, refers to the process steps to resolve the problem, which is to do, after what, then what, then what ......