Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / Python

Knowledge base — Python

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 583

Python

anext()

Returns an awaitable for the next item of an asynchronous iterator.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

any()

Returns true as soon as an element of the iterable passes a truth test.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

ascii()

Returns a printable representation with non-ASCII characters replaced by escapes.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

bin()

Formats an integer in base two with a binary prefix.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

bool()

Converts the truth value of an object into a Boolean.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

breakpoint()

Invokes the current breakpoint hook, which normally enters the configured debugger.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

bytearray()

Constructs a mutable sequence of byte values.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

bytes()

Constructs an immutable byte sequence from a length, iterable of byte values, or buffer.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

callable()

Checks whether an object appears to support the calling protocol.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

chr()

Creates a string containing the Unicode character for an integer code point.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

classmethod()

Binds the class as the first argument when a method is accessed through a class or instance.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

compile()

Compiles source text into a reusable code object for the selected compilation mode.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

complex()

Builds a complex number from real and imaginary components or parses a complex literal string.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

delattr()

Requests deletion of the named attribute through the type’s `__delattr__` protocol.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

dict()

Builds a dictionary from a mapping, key-value pairs, or keyword bindings.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

dir()

Lists names that an object advertises for interactive discovery.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

divmod()

For integers, computes the floor quotient and the corresponding remainder as a pair.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

enumerate()

Pairs successive input items with an incrementing counter.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

eval()

Evaluates a Python expression in the supplied namespace and returns its value.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

exec()

Executes a suite of trusted Python statements in a chosen namespace.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

filter()

Lazily retains input items that pass the supplied predicate.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

float()

Converts a numeric input or a valid decimal string into a floating-point number.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

format()

Converts a value to text using the formatting protocol implemented by its type.

Intermediate · Python 3.14; repository image, production runtime not attested
Python

frozenset()

Creates an immutable set of distinct hashable elements.

Intermediate · Python 3.14; repository image, production runtime not attested