query: Why setting value to a function's argument affects the input variable when iterated but not when used as vector?
positive_passages.docid: 24596
positive_passages.text: Why can a function modify some arguments as perceived by the caller, but not others?
negative_passages.docid: 1215
negative_passages.text: List changes unexpectedly after assignment. Why is this and how to prevent it?
negative_passages.docid: 17592
negative_passages.text: Why does += behave unexpectedly on lists?
negative_passages.docid: 131806
negative_passages.text: 2D list has weird behavor when trying to modify a single value
negative_passages.docid: 35250
negative_passages.text: Why is the asterisk before the variable name, rather than after the type?
negative_passages.docid: 142576
negative_passages.text: Why does [1].append(2) evaluate to None instead of [1,2]?
negative_passages.docid: 67916
negative_passages.text: Why is it bad to use an iteration variable in a lambda expression
negative_passages.docid: 141719
negative_passages.text: NameError when using input()
negative_passages.docid: 124190
negative_passages.text: Why cannot a non-member function be used for overloading the assignment operator?
negative_passages.docid: 38303
negative_passages.text: Why does this iterative list-growing code give IndexError: list assignment index out of range?
negative_passages.docid: 2701
negative_passages.text: Assigning to variable from parent function: "Local variable referenced before assignment"
negative_passages.docid: 528
negative_passages.text: Do values attached to integers have implicit parentheses?
negative_passages.docid: 26433
negative_passages.text: How does variable assignment work in JavaScript?
negative_passages.docid: 121296
negative_passages.text: How to pass the value 'undefined' to a function with multiple parameters?
negative_passages.docid: 83890
negative_passages.text: Uninitialized values being initialized?
negative_passages.docid: 125985
negative_passages.text: Why does this const member function allow a member variable to be modified?
negative_passages.docid: 19240
negative_passages.text: My attempt at value initialization is interpreted as a function declaration, and why doesn't A a(()); solve it?