Some Inbuilt functions:
map()
The map() function provides an easy way to transform each item into an iterable object.
Syntax:
map(function , iteration to be mapped)

filter()
We can use the filter built-in function to filter items in a list.

sorted()
In the given example we are passing the len function as the key to the sort function. This way, we can sort a list of words by length:
Syntax:
sorted(iterable,[key][, reverse])

locals()
The locals() method doesn’t take any parameters. It updates and returns the dictionary associated with the current local symbol table.
syntax:
locals()

vars()
vars() method takes only one parameter and that too is optional. It takes an object as a parameter which may be can a module, a class, an instance, or any object having __dict__ attribute. vars() acts like locals() method when an empty argument is passed.
syntax:
vars(object)

list.reverse()
It doesnt take in any arguments nor it returns any value, it just reverses the elements and updates the list.
syntax
list.reverse()

list count():
It takes in a single argument and returns the number of occurrences of an element in a list.
syntax:
list.count(element)

format()
Convert a value to a āformattedā representation, as controlled by format_spec. The interpretation of format_spec will depend on the type of the value argument
Syntax :
{ } .format(value)
or
{ } { } .format(value1, value2)

zip()
zip() is used to map the similar index of multiple containers so that they can be used just using as single entity. zip() in conjunction with the * operator can be used to unzip a list.
syntax: to zip
zip(itterable_object_1,itterable_object_2)
syntax: to unzip the zipped value
zip(*zip( itterable_object_1,itterable_object_2))
iterable objects – like set,list,tuple etc .

super()
The super() builtin returns a proxy object that allows you to refer parent class by ‘super’.

set()
A set is an unordered collection of items. Every element is unique (no duplicates) and must be immutable. However the set itself is mutable. We can add or remove items from it. Sets can be used to perform mathematical set operations like union, intersection, symmetric difference etc.
syntax:
var_name = {data_1,data_2,..}

frozenset()
It returns an unchangeable frozenset object its similar to set but its unchangeable
syntax:
frozenset(iterable objects)

getattr()
The getattr() method takes multiple parameters. It returns the value of the named attribute of an object. If not found, it returns the default value provided to the function.
syntax:
getattr(object, name[, default])

isinstance()
The isinstance() function checks if the object (first argument) is an instance or subclass of classinfo class (second argument).
syntax
isinstance(object, classinfo)

Author:Nivedita.M
Editted by: Gautham Arcot
