Solved

Which of the Following Is Not True About the Scope

Question 67

Multiple Choice

Which of the following is not true about the scope and lifetime of variables in Python:


A) local variables have local scope
B) global variables have global scope
C) local variables have a longer lifetime than global variables
D) the same identifier name can be used for different local variables of other functions
E) The use of global variables is not good programming practice

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents