Built-in Functions
Built-in Functions#
The Python interpreter has a number of functions and types built into it that are always available.
Function |
Description |
---|---|
|
Return the absolute value of a number. |
|
Return a Boolean value. |
|
Return the string representing a character. |
|
Return a floating point number from a number or string. |
|
This function takes an input and converts it into a string. |
|
Return an integer object constructed from a number or string. |
|
Return the length (the number of items) of an object. |
|
Rather than being a function, list is a mutable sequence type. |
|
Return the largest item in an iterable. |
|
Return the smallest item in an iterable. |
|
Return an integer representing the Unicode code point of a character. |
|
Return base to the power exp. |
|
Print objects to the text stream file. |
|
Return number rounded to ndigits precision after the decimal point. |
|
Return a new sorted list from the items in iterable. |
|
Return a str version of object. |
|
Sums start and the items of an iterable. |
|
Return the type of an object. |