Python abs() Function The python abs() function is used to return absolute value of a number. It takes only one argument, a…
bytes function
-
-
Python globals() Function The python globals() function returns the dictionary of the current global symbol table. A Symbol table is defined as…
-
Python str() Function Python str() converts a specified value into a string. Signature str(object, encoding=encoding, errors=errors) Parameters object : It is the…
-
Python all() Function The python all() function accepts an iterable object (such as list,dictionary etc.). It returns True if all items in…
-
Python hasattr() Function The python hasattr() function returns true if an object has given named attribute. Otherwise, it returns false. Signature hasattr(object,…
-
Python sum() Function As the name says, python sum() function is used to get the sum of numbers of an iterable, i.e.…
-
Python any() Function The python any() function returns True if any item in an iterable is true, otherwise it returns False. Note…
-
Python iter() Function The python iter() function is used to return an iterator object. It creates an object which can be iterated…
-
Python tuple() Function Python tuple() function is used to create a tuple object. Signature tuple(iterable) Parameters Iterable: It is a sequence, collection,…
-
Python ascii() Function The python ascii() function returns a string containing a printable representation of an object and escapes the non-ASCII characters…