Python exec() Function The python exec() function is used for the dynamic execution of Python program which can either be a string…
python built in functions
-
-
Python pow() Function Python pow() function is used to compute the powers of a number. It returns x to the power of…
-
Python float() Function The python float() function returns a floating point number from a number or string. Signature float(value) Parameters value– It…
-
Python print() Function Python print() function prints the given object on the screen or other standard output devices. Signature print(object(s), sep=separator, end=end,…
-
Python format() Function The python format() function returns a formatted representation of the given value. Signature format(value, format) Parameters value: It is…
-
Python range() Function Python range() function returns an immutable sequence of numbers starting from 0, increments by 1 and ends at a…
-
Python frozenset() Function The python frozenset() function returns an immutable frozenset object initialized with elements from the given iterable. Signature frozenset(iterable) Parameters…
-
Python reversed() Function Python reversed() function returns the reversed iterator of the given sequence. Signature reversed(sequence) Parameters sequence: It is a sequence…
-
Python getattr() Function The python getattr() function returns the value of a named attribute of an object. If it is not found,…
-
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…