The variables that are defined inside a function are referred to as _______ variables.
- Global
- Instance
- Local
- Non-local
Variables defined inside a function are known as 'local' variables. They are only accessible within that function's scope.
Loading...
Related Quiz
- To enable database migrations in Flask, the ____ extension can be used.
- In Django, what is the name of the file used to define the URL patterns of an app?
- How would you run a Python script from the command line and pass arguments to it?
- In Django, how would you extend the User model to include additional fields?
- You are asked to create a plot comparing the distribution of a variable across different categories, highlighting the median and interquartile range. Which Seaborn plot would you choose?