Test description

This test assesses your advanced skills in the Python programming language (up to v3.11).
Topics: generators, iterators, lists, sets, dicts, reference-or-value, Python-2-vs-3, OOP, magic-methods, logging, threading.

Sample questions

1
Given the following Python code, what gets printed?

colors1 = {
    "apples": "Green",
}

colors2 = colors1

colors2["apples"] = "Yellow"

print('colors1:', colors1)
print('colors2:', colors2)