What is a local variable?

Questions & AnswersCategory: PythonWhat is a local variable?
Geek Boy Staff asked 2 years ago

What is a local variable?
a. A local variable is a variable that is declared using the nonlocal keyword.
b. A local variable is a variable that is available in the global scope.
c. A local variable is a variable that is declared using the global keyword.
d. A local variable is a variable that is available in the local scope.