Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / Knowledge base

Knowledge base

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

Entries: 5788

Python

property()

Exposes a method as a managed attribute read on an instance.

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

repr()

Requests a representation suitable for inspection or debugging.

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

reversed()

Returns an iterator over a reversible object in reverse order.

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

round()

Rounds a number to the requested decimal position, or returns the nearest integer when the position is omitted.

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

set()

Collects distinct hashable values into a mutable set.

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

setattr()

Assigns an attribute whose name is supplied as a string.

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

slice()

Represents the bounds and step of a subsequence selection as an object.

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

sorted()

Builds a new sorted list from the members of an iterable.

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

staticmethod()

Stores a function on a class without binding the instance or class as an implicit first argument.

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

str: a text representation of an object

str creates a Unicode string. Converting a number to text does not perform arithmetic, and turning bytes into text requires a deliberate choice of encoding.

Basic · Python 3.14
Python

sum()

Accumulates numeric input starting at the supplied initial value.

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

super()

Obtains a proxy that continues attribute lookup after the current class in the method resolution order.

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

tuple()

Collects successive values into an immutable ordered sequence.

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

type()

Returns the actual type of a runtime object.

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

vars()

Returns the attribute dictionary of an object that provides one.

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

zip()

Groups parallel items from multiple iterables into tuples.

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

Keyword as

Bind a name according to the surrounding statement.

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

Keyword assert

Test a debugging invariant with a truth test when `__debug__` is true.

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

Keyword async

An async def without yield creates a coroutine function whose call returns a coroutine object without executing the body.

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

Keyword await

Inside a coroutine or asynchronous generator, obtain the result or exception of an awaitable.

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

Keyword break

Exit the innermost enclosing loop and skip that loop’s else suite.

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

Keyword case

Select a match arm by testing its pattern before its optional guard.

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

Keyword class

The class body runs immediately in a new namespace and the name receives the result of applying decorators, which can replace the class.

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