Python getattr() Function The python getattr() function returns the value of a named attribute of an object. If it is not found,…
new compile function
-
-
Python round() Function Python round() function rounds off the digits of a number and returns the floating-point number. Signature round(number,digits) Parameters number…
-
Python abs() Function The python abs() function is used to return absolute value of a number. It takes only one argument, a…
-
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…