PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
What is a variable defined outside a function referred to as?
A. A static variable
B. A global variable
C. A local variable
D. An automatic variable
Show Answer
Next Question
Correct Answer:
B
Explanation: The value of a variable defined outside all function definitions is referred to as a global variable and can be used by multiple functions of the program.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap