Home >>Python Built-in Functions

Python Built-in Functions

Python Built in Functions

The Python language has some built-in functions. These built-in functions are basically those functions whose functionality is pre-defined in Python language. The python interpreter has some pre-defined functions that are always present to be used. These functions are referred to as Built-in functions. The built-in functions of Python language are listed below:

Function Description
abs() It is used to return the absolute value of a number.
all() It is used to return True if all items in an iterable object are true.
any() It is used to return True if any item in an iterable object is true.
ascii() It is used to return a readable version of an object.
bin() It is used to return the binary version of a number.
bool() It is used to return the boolean value of the specified object.
bytearray() It is used to return an array of bytes.
bytes() It is used to return a bytes object.
callable() It is used to return True if the specified object is callable.
chr() It is used to return a character from the specified Unicode code.
classmethod() It is used to convert a method into a class method.
compile() It is used to return the specified source as an object.
complex() It is used to return a complex number.
delattr() It is used to delete the specified attribute from the specified object.
dict() It is used to return a dictionary.
dir() It is used to return a list of the specified object's properties and methods.
divmod() It is used to return the quotient and the remainder when argument1 is divided by argument2.
enumerate() It takes a collection and return it as an enumerate object.
eval() It is used to evaluate and execute an expression.
exec() It is used to execute the specified code.
filter() It uses a filter function to exclude items in an iterable object.
float() It is used to return a floating point number.
format() It formats a specified value.
frozenset() It is used to return a frozenset object.
getattr() It is used to return the value of the specified attribute.
globals() It is used to return the current global symbol table as a dictionary.
hasattr() It is used to return True if the specified object has the specified attribute.
hash() It is used to return the hash value of a specified object.
help() It executes the built-in help system.
hex() It is used to convert a number into a hexadecimal value.
id() It is used to return the id of an object.
input() It is used for allowing user input.
int() It is used to return an integer number.
isinstance() It is used to return True if a specified object is an instance of a specified object.
issubclass() It is used to return True if a specified class is a subclass of a specified object.
iter() It is used to return an iterator object.
len() It is used to return the length of an object.
list() It is used to return a list.
locals() It is used to return an updated dictionary of the current local symbol table.
map() It is used to return the specified iterator with the specified function applied to each item.
max() It is used to return the largest item in an iterable.
memoryview() It is used to return a memory view object.
min() It is used to return the smallest item in an iterable.
next() It is used to return the next item in an iterable.
object() It is used to return a new object.
oct() It is used to convert a number into an octal.
open() It is used to return a file object.
ord() It convert an integer representing the Unicode of the specified character.
pow() It is used to return the value of x to the power of y.
print() It is used to print to the standard output device.
property() It gets, sets, and deletes a property.
range() It is used to return a sequence of numbers starting from 0 and increments by 1.
repr() It is used to return a readable version of an object.
reversed() It is used to return a reversed iterator.
round() It is used to round a numbers.
set() It is used to return a new set object.
setattr() It sets an attribute of an object.
slice() It is used to return a slice object.
sorted() It is used to return a sorted list.
@staticmethod() It converts a method into a static method.
str() It is used to return a string object.
sum() It is used to sum the items of an iterator.
super() It is used to return an object that represents the parent class.
tuple() It is used to return a tuple.
type() It is used to return the type of an object.
vars() It is used to return the __dict__ property of an object.
zip() It is used to return an iterator from two or more iterators.

Python Built-in Functions Index

Sr.No. Topics
1 Python abs() Function
2 Python all() Function
3 Python any() Function
4 Python ascii() Function
5 Python bin() Function
6 Python bool() Function
7 Python bytearray() Function
8 Python bytes() Function
9 Python callable() Function
10 Python chr() Function
11 Python compile() Function
12 Python complex() Function
13 Python delattr() Function
14 Python dict() Function
15 Python dir() Function
16 Python divmod() Function
17 Python enumerate() Function
18 Python eval() Function
19 Python exec() Function
20 Python filter() Function
21 Python float() Function
22 Python format() Function
23 Python frozenset() Function
24 Python getattr() Function
25 Python globals() Function
26 Python hasattr() Function
27 Python hash() Function
28 Python help() Function
29 Python hex() Function
30 Python id() Function
31 Python input() Function
32 Python int() Function
33 Python isinstance() Function
34 Python issubclass() Function
35 Python iter() Function
36 Python len() Function
37 Python list() Function
38 Python locals() Function
39 Python map() Function
40 Python max() Function
41 Python memoryview() Function
42 Python min() Function
43 Python next() Function
44 Python object() Function
45 Python oct() Function
46 Python open() Function
47 Python ord() Function
48 Python pow() Function
49 Python print() Function
50 Python property() function
51 Python range() Function
52 Python repr() Function
53 Python reversed() Function
54 Python round() Function
55 Python set() Function
56 Python setattr() Function
57 Python slice() Function
58 Python sorted() Function
59 Python str() Function
60 Python sum() Function
61 Python super() Function
62 Python tuple() Function
63 Python type() Function
64 Python vars() Function
65 Python zip() Function

Learn Latest Tutorials

Python Built-in Functions Python abs() Function Python all() Function Python any() Function Python ascii() Function Python bin() Function Python bool() Function Python bytearray() Function Python bytes() Function Python callable() Function Python chr() Function Python compile() Function Python complex() Function Python delattr() Function Python dict() Function Python dir() Function Python divmod() Function Python enumerate() Function Python eval() Function Python exec() Function Python filter() Function Python float() Function Python format() Function Python frozenset() Function Python getattr() Function Python globals() Function Python hasattr() Function Python hash() Function Python help() Function Python hex() Function Python id() Function Python input() Function Python int() Function Python isinstance() Function Python issubclass() Function Python iter() Function Python len() Function Python list() Function Python locals() Function Python map() Function Python max() Function Python memoryview() Function Python min() Function Python next() Function Python object() Function Python oct() Function Python open() Function Python ord() Function Python pow() Function Python print() Function Python property() function Python range() Function Python repr() Function Python reversed() Function Python round() Function Python set() Function Python setattr() Function Python slice() Function Python sorted() Function Python str() Function Python sum() Function Python super() Function Python tuple() Function Python type() Function Python vars() Function Python zip() Function