In Python, a variable is:
-
A
A fixed value
-
B
A named storage location
Correct answer
-
C
A function
-
D
A loop
Correct answer
B. A named storage location
11 views
Explanation
A variable is a named storage location whose value can change. You do not declare its type explicitly; Python infers it.
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ