Computer Science
The variable declared inside a function is called a global variable.
Python Functions
1 Like
Answer
False
Reason — Variables declared inside a function in Python are called local variables. These variables are local to that function and can only be accessed within that function's scope.
Answered By
2 Likes
Related Questions
Fill in the blanks:
Function name must be followed by _________ and _________.
More than one value(s) can be returned by a function in Python.
Once a function is defined, it may be called only once from many different places in a program.
Value returning functions should be generally called from inside of an expression.