ANNEXURE - List of Python Functions I. Built-in Functions Function Description abs() returns absolute value of a number all() returns true when all elements in iterable is true any() Checks if any Element of an Iterable is True ascii() Returns String Containing Printable Representation bin() converts integer to binary string bool() Converts a Value to Boolean bytearray() returns array of given byte size bytes() returns immutable bytes object callable() Checks if the Object is Callable chr() Returns a Character (a string) from an Integer classmethod() returns class method for given function compile() Returns a Python code object complex() Creates a Complex Number delattr() Deletes Attribute From the Object dir() Tries to Return Attributes of Object divmod() Returns a Tuple of Quotient and Remainder enumerate() Returns an Enumerate Object eval() Runs Python Code Within Program exec() Executes Dynamically Created Program filter() constructs iterator from elements which are true float() returns floating point number from number, string format() returns formatted representation of a value getattr() returns value of named attribute of an object globals() returns dictionary of current global symbol table hasattr() returns whether object has named attribute hash() returns hash value of an object help() Invokes the built-in Help System hex() Converts to Integer to Hexadecimal id() Returns Identify of an Object isinstance() Checks if a Object is an Instance of Class issubclass() Checks if a Object is Subclass of a Class iter() returns iterator for an object len() Returns Length of an Object locals() Returns dictionary of a current local symbol table map() Applies Function and Returns a List max() returns largest element memoryview() returns memory view of an argument min() returns smallest element next() Retrieves Next Element from Iterator object() Creates a Featureless Object oct() converts integer to octal 12th Std - CS EM Annexure - - open() Returns a File object ord() returns Unicode code point for Unicode character pow() returns x to the power of y print() Prints the Given Object property() returns a property attribute range() return sequence of integers between start and stop repr() returns printable representation of an object reversed()
📖 generic · 12th TN - English Medium · COMPUTER SCIENCE · Page 333question
ANNEXURE - 1
Chapter 4: 6 · COMPUTER SCIENCE
Related topics
Have a question about this topic?
Get an AI answer grounded in your actual textbook — with the exact page reference.
Ask AI about this topic →