input (): the output is in the form of a string
eval (): you can remove the outer quotation marks of the string
sorting and reverse order
enumeration and iteration
enumerate lazy evaluation, can not be viewed directly, the example is installed in the list to view
map ()
Example: Input a natural number, and output each bit of it at a time
. There are two parameters in the function.
Use the ordinary method:
reduce ()
filter ()
zip ()
Python basic input and output and built-in functions
Guess you like
Origin blog.csdn.net/id__39/article/details/104898771
Recommended
Ranking