Ask Question
18 November, 23:48

Which of the following is NOT true about a Python variable?

a) A Python variable must have a value

b) A Python variable can be deleted

c) The lifetime of a Python variable is the whole duration of a program execution.

d) A Python variable can have the value None.

+5
Answers (2)
  1. 19 November, 01:57
    0
    Answer: c) The lifetime of a Python variable is the whole duration of a program execution.

    Explanation: Python variable are variables that are made up of alpha-numeric characters and underscores only. They also persist the case sensitivity. The life time of the variable is python is dependent upon scope of python variables.

    It can have value that should start with underscore or letter and no number. It can be deleted as per requirement. But the life of variable does not depends on programs execution duration. Thus, the only incorrect statement given in the question is option (c).
  2. 19 November, 02:40
    0
    The lifetime of a Python variable is the whole duration of a program execution.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following is NOT true about a Python variable? a) A Python variable must have a value b) A Python variable can be deleted c) ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers