Q2: THis isn't a syntax thing, but it does require knowledge of python queue objects to get right
Q3: This requires knowledge around the semantics of argument passing, which vary from language to language.
Q4: this again requires some understanding of how values are stored. Some languages will copy, while others will use a reference to the originally inserted value.
Q5: python closure syntax. python scoping rules.
Q8: unless you know what "bytearray.decode" does, the best you can do is make an educated guess from the context.
Q3: This requires knowledge around the semantics of argument passing, which vary from language to language.
Q4: this again requires some understanding of how values are stored. Some languages will copy, while others will use a reference to the originally inserted value.
Q5: python closure syntax. python scoping rules.
Q8: unless you know what "bytearray.decode" does, the best you can do is make an educated guess from the context.