Built in Function are those functions which are system defined ,either we can refer them directly or include the Library file in which it is defined into our program and use them.
So, we will discuss some of the built in function and its uses.
Few commonly used Built in Functions and its use.
abs() | Returns the absolute value of a number |
bin() | Returns the binary version of a number |
bool() | Returns the boolean value of the specified object |
bytearray() | Returns an array of bytes |
bytes() | Returns a bytes object |
chr() | Returns a character from the specified Unicode code. |
complex() | Returns a complex number |
dict() | Returns a dictionary (Array) |
dir() | Returns a list of the specified object’s properties and methods |
divmod() | Returns the quotient and the remainder when parameter1 is divided by parameter2 |
enumerate() | Takes a collection (e.g. enumerate object a tuple) and returns it as an |
eval() | Evaluates and executes an expression |
float() | Returns a floating point number |
format() | Formats a specified value |
frozenset() | Returns a frozen set object |
help() | Executes the built-in help system |
hex() | Converts a number into a hexadecimal value |
id() | Returns the id of an object |
input() | Allowing user input |
int() | Returns an integer number |
isinstance() | Returns True if a specified object is an instance of a specified object |
issubclass() | Returns True if a specified class is a subclass of a specified object |
len() | Returns the length of an object |
list() | Returns a list |
max() | Returns the largest item in an iterable |
memoryview() | Returns a memory view object |
min() | Returns the smallest item in an iterable |
next() | Returns the next item in an iterable |
object() | Returns a new object |
oct() | Converts a number into an octal |
open() | Opens a file and returns a file object |
ord() | Convert an integer representing the Unicode of the specified character |
pow() | Returns the value of x to the power of y |
print() | Prints to the standard output device |
range() | Returns a sequence of numbers, starting from 0 and increments by 1 (by default) |
round() | Rounds a numbers |
set() | Returns a new set object |
slice() | Returns a slice object |
sorted() | Returns a sorted list |
str() | Returns a string object |
sum() | Sums the items of an iterator |
super() | Returns an object that represents the parent class |
tuple() | Returns a tuple |
type() | Returns the type of an object |