Python3 version of all built-in functions
For specific usage, please check out the Beginner tutorial built-in function chapter.
As well as for the specific classification introduced
| ABS (x) |
Seek absolute value
1, the parameters can be integral type, can also be plural
2, if the parameter is negative, the return of the modulus of negative |
| Complex ([real[, Imag]]) |
Create a complex number |
| Divmod (A, B) |
Separate fetch and remainder
Note: integral, floating-point types can be |
| float ([x]) |
Converts a string or number to a float. If no parameter is returned 0.0 |
| int ([x[, Base]]) |
Converts a character to an int type, and base represents the binary |
| Long ([x[, Base]]) |
Converts a character to a long type |
| Pow (x, y[, z]) |
Returns the Y power of X |
| Range ([start], stop[, step]) |
Produces a sequence that starts with 0 by default |
| Round (x[, N]) |
Rounded |
| Sum (iterable[, start]) |
Sum the Set |
| Oct (x) |
Convert a number to 8 binary |
| Hex (x) |
Converts an integer x to a 16-binary string |
| Chr (i) |
Returns the ASCII character corresponding to the integer i |
| Bin (x) |
Converts an integer x to a binary string |
| BOOL ([x]) |
Convert X to Boolean type |
Python built-in function