Loading lesson path
Concept visual
Formula
Python has a set of built - in functions.Returns the absolute value of a number all() Returns True if all items in an iterable object are true any() Returns True if any item in an iterable object is true ascii()
Formula
Returns a readable version of an object. Replaces none - ascii characters with escape character bin()Returns the binary version of a number bool() Returns the boolean value of the specified object bytearray()
Returns True if the specified object is callable, otherwise False chr()
Unicode code. classmethod() Converts a method into a class method compile() Returns the specified source as an object, ready to be executed complex()
Deletes the specified attribute (property or method) from the specified object dict() Returns a dictionary (Array) dir() Returns a list of the specified object's properties and methods divmod() Returns the quotient and the remainder when argument1 is divided by argument2 enumerate() Takes a collection (e.g. a tuple) and returns it as an enumerate object eval()
Executes the specified code (or object) filter() Use a filter function to exclude items in an iterable object float()
Returns the value of the specified attribute (property or method) globals() Returns the current global symbol table as a dictionary hasattr()
Formula
Returns True if the specified object has the specified attribute (property/method)hash() Returns the hash value of a specified object help()
Converts a number into a hexadecimal value id()
Returns True if a specified object is an instance of a specified object issubclass() Returns True if a specified class is a subclass of a specified object iter()
Returns an updated dictionary of the current local symbol table map() Returns the specified iterator with the specified function applied to each item max() Returns the largest item in an iterable memoryview()
Returns the smallest item in an iterable next() Returns the next item in an iterable object()
Opens a file and returns a file object ord() Convert an integer representing the Unicode of the specified character pow() Returns the value of x to the power of y print()
Gets, sets, deletes a property range() Returns a sequence of numbers, starting from 0 and increments by 1 (by default) repr() Returns a readable version of an object reversed()