Please support this website.
Visit the Amazon using this affiliate link
. There won't be any difference in your purchage, we will get some commission for every purchase you make.
Advertise with us
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
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