Question-124: Which of the following statement is correct with regards to scalar and list variables?
- Name of the scalar variable is a content of that variable.
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Answer: A, B
Exp:
List and Scalar in memory
- Name of the scalar variable is a content of that variable.
- Name of the list is not a name for its content. It refers the memory location of that content.
- In below program both listA and listB are pointing to same list in memory.
-
You can access to full explanation to question and answer from this page.