The online Python Functions List is now accessible, allowing you to review the names of all built-in functions in the Python language. Python offers a diverse set of built-in functions that are readily available for use, requiring no import statements.
These functions encompass a broad spectrum of tasks and can be employed for various operations. Among the frequently used built-in functions in Python are print(), len(), input(), type(), int(), float(), str(), range(), max(), min(), sum(), sorted(), and others.
Python Functions List (Built In)
Sr. No. | Function | Description |
---|---|---|
1 | abs() | Returns the absolute value of a number |
2 | aiter() | Return an asynchronous iterator for an asynchronous iterable |
3 | all() | Returns True if all items in an iterable object are true |
4 | anext() | When awaited, return the next item from the given asynchronous iterator, or default is given and iterator is exhausted |
5 | any() | Returns True if any item in an iterable object is true |
6 | ascii() | Returns a readable version of an object. Replaces none-ascii characters with escape character |
7 | bin() | Returns the binary version of a number |
8 | bool() | Returns the boolean value of the specified object |
9 | breakpoint() | Call Bebugger method and help in changing debugger module |
10 | bytearray() | Returns an array of bytes |
11 | bytes() | Returns a bytes object |
12 | callable() | Returns True if the specified object is callable, otherwise False |
13 | chr() | Returns a character from the specified Unicode code. |
14 | classmethod() | Converts a method into a class method |
15 | compile() | Returns the specified source as an object, ready to be executed |
16 | complex() | Returns a complex number |
17 | delattr() | Deletes the specified attribute (property or method) from the specified object |
18 | dict() | Returns a dictionary (Array) |
19 | dir() | Returns a list of the specified object’s properties and methods |
20 | divmod() | Returns the quotient and the remainder when argument1 is divided by argument2 |
21 | enumerate() | Takes a collection (e.g. a tuple) and returns it as an enumerate object |
22 | eval() | Evaluates and executes an expression |
23 | exec() | Executes the specified code (or object) |
24 | filter() | Use a filter function to exclude items in an iterable object |
25 | float() | Returns a floating point number |
26 | format() | Formats a specified value |
27 | frozenset() | Returns a frozenset object |
28 | getattr() | Returns the value of the specified attribute (property or method) |
29 | globals() | Returns the current global symbol table as a dictionary |
30 | hasattr() | Returns True if the specified object has the specified attribute (property/method) |
31 | hash() | Returns the hash value of a specified object |
32 | help() | Executes the built-in help system |
33 | hex() | Converts a number into a hexadecimal value |
34 | id() | Returns the id of an object |
35 | input() | Allowing user input |
36 | int() | Returns an integer number |
37 | isinstance() | Returns True if a specified object is an instance of a specified object |
38 | issubclass() | Returns True if a specified class is a subclass of a specified object |
39 | iter() | Returns an iterator object |
40 | len() | Returns the length of an object |
41 | list() | Returns a list |
42 | locals() | Returns an updated dictionary of the current local symbol table |
43 | map() | Returns the specified iterator with the specified function applied to each item |
44 | max() | Returns the largest item in an iterable |
45 | memoryview() | Returns a memory view object |
46 | min() | Returns the smallest item in an iterable |
47 | next() | Returns the next item in an iterable |
48 | object() | Returns a new object |
49 | oct() | Converts a number into an octal |
50 | open() | Opens a file and returns a file object |
51 | ord() | Convert an integer representing the Unicode of the specified character |
52 | pow() | Returns the value of x to the power of y |
53 | print() | Prints to the standard output device |
54 | property() | Gets, sets, deletes a property |
55 | range() | Returns a sequence of numbers, starting from 0 and increments by 1 (by default) |
56 | repr() | Returns a readable version of an object |
57 | reversed() | Returns a reversed iterator |
58 | round() | Rounds a numbers |
59 | set() | Returns a new set object |
60 | setattr() | Sets an attribute (property/method) of an object |
61 | slice() | Returns a slice object |
62 | sorted() | Returns a sorted list |
63 | staticmethod() | Converts a method into a static method |
64 | str() | Returns a string object |
65 | sum() | Sums the items of an iterator |
66 | super() | Returns an object that represents the parent class |
67 | tuple() | Returns a tuple |
68 | type() | Returns the type of an object |
69 | vars() | Returns the __dict__ property of an object |
70 | zip() | Returns an iterator, from two or more iterators |
Also Check