Python References

Python Abs() – Abs() method is used to get the absolute value of your input.

Python All() – All() method is used to return True when all the elements in the give iterable are true.

Python any() – any() method is used to return True if any element is present in an iterable.

Python ascii() – ascii() method is used to return a readable version of a string containing a printable representation of an object.

Python bin() – bin() method is used to return the given integer’s binary representation into a string format.

Python bool() – bool() method is used to return the boolean value of a specified given object.

Python bytearray() – bytearray() method is used to return a form of bytearray object, an array of given objects.

Python bytes() – bytes() method converts a given object and returns an immutable byte representation of a given object and data.

Python callable() – callable() method returns True if the specified object is callable.

Python chr() – chr() method in python returns a string character from an integer.

Python classmethod() – classmethod() method returns the class function for the given function.

Python compile() – compile() method in python code objects from the source can be a normal string, a byte string, or an AST object.

Python complex() – complex() method returns a complex number when real and imaginary parts are given and converts a string to a complex number.

Python dir() – dir() function returns a list of valid attributes of the specific object.

Python delattr() – delattr() method will delete the specific attribute from the particular object if that particular object allows it.

Python dict() – The dict() method helps to create a Python dictionary.

Python divmod() – divmod() method takes two numbers and returns a pair of numbers inside a tuple consisting of their quotient and remainder.

Python divmod() – divmod() method takes two numbers and returns a pair of numbers inside a tuple consisting of their quotient and remainder.

Python enumerate() – enumerate() method adds a counter to an iterable and returns its enumerated object.

Python eval() – eval() method helps execute the specified expression; it can execute the legal python statement.

Python exec() – exec() is a built-in python Method that executes the specified python code dynamically. Can be a string or a code object.

Python filter() – filter() method returns an iterator where the items are filtered through a method to test if the item is true or not.

Python float() – float() method returns the floating-point number of a given number or a string; we can also use it for typecasting in python.

Python format() – format() is a built-in python method that returns a formatted representation of the specified value.