C-16-Q145mediumsingle_mcq
Which of the following is the BEST description of the chapter's view of variables?
Which of the following is the BEST description of the chapter's view of variables?
- aThey permanently fix the first value assigned
- bThey can hold values that change over time, of types that may also change
- cThey are only used for storing strings
- dThey are only used inside print()
ব্যাখ্যা
A variable can store values that change over time, and in Python the type of those values may also change with reassignment. This captures both the changeable value and the dynamic typing of variables.