JNCIA-DevOps: Juniper Networks Certified Associate – Automation (2021) — Question 12
In Python, my_list = [1, 2, 3] is an example of which type of operation?
Answer options
- A. membership
- B. comparison
- C. assignment
- D. bitwise
Correct answer: A
Explanation
The correct answer is A because the operation is about assigning a list to a variable, which pertains to membership in how the list elements can be accessed. Options B, C, and D do not apply since there is no comparison, simple assignment, or bit manipulation occurring in this context.