Table of Contents » Reference Materials : Built-in Functions
Built-in Functions
Python's built-in functions are a set of predefined functions that are readily available for use in any Python environment without the need for importing external libraries. These functions provide essential capabilities, simplifying many common programming tasks. They cover a wide range of functionalities, from basic mathematical operations like abs() for absolute value, to data type conversions such as int() or str(). Functions like print() are used for output, while input() is used for user input. Python also includes functions for more complex operations, such as sorted() for sorting iterables, len() for determining the length of an iterable, and range() for generating sequences of numbers. These built-in functions are integral to Python, making it a versatile and user-friendly programming language.
The following table lists all of the functions built into the Python language. For full details on any of these functions see the official Python documentation here: docs.python.org.
abs()
aiter()
all()
any()
anext()
ascii()
bin()
bool()
breakpoint()
bytearray()
bytes()
callable()
chr()
classmethod()
compile()
complex()
delattr()
dict()
dir()
divmod()
enumerate()
eval()
exec()
filter()
float()
format()
frozenset()
getattr()
globals()
hasattr()
hash()
help()
hex()
id()
input()
int()
isinstance()
issubclass()
iter()
len()
list()
locals()
map()
max()
memoryview()
min()
next()
object()
oct()
open()
ord()
pow()
print()
property()
range()
repr()
reversed()
round()
set()
setattr()
slice()
sorted()
staticmethod()
str()
sum()
super()
tuple()
type()
vars()
zip()
__import__()