Level 1 : What is a variable defined outside a function referred to as?

Author: HareramG | Tags: function | 1859+ Python FAQs | Share
directory-operations | map-function | conditional-statement | exception-handling | keyword | file_handling | identity-operator | formatting-with-strftime | intering | head-and-tail | class-and-instance-variable | integers | iterable | arbitrary-arguments-(*args,-**kwargs) | control-flow | async | inheritance | docstring | input-function | software-design | loop | membership-operators-(in,-not-in) | generators-in-python | threading | operator-or | list-method | expand-tab | regex | loops | built-in-modules | exception-handling | defining-functions | using-map()-for-transformations | filter-function | multiple-inheritance | mysql | list-methods-and-slicing | format | list-slicing | command-line-parsing | indexing:-loc-vs-iloc | list,-set,-and-dictionary-comprehensions | polymorphism | matrix-list-comprehension | type_conversion | bitwise | boolean | namedtuple | list-join | lambda-function | memory-management | class-and-object | regular-expressions | int | basic | constructor | list | type-conversion | expression | data-types | filtering-and-indexing | lists | list-mutation | id-function | thread | pseudocode | numpy | benefit | print | function-and-scope | stack | range | def | enumerate() | parameter | global-keyword | thread-safe-data-structures-(queue.queue) | mapping-function | encapsulation | multiple-except-blocks | assert | compute | method-overloading | methods | python | immutability | data-type-conversions | recursion | python-syntax-and-structure | working-with-temporary-files-using-tempfile | syntax | virtual-environment | control-statement | pandas | import-method | numeric | functional-programming | __all__-attribute | turtle | generator | difference-between-threads-and-processes | indentation | __init_subclass__ | multithreading | dictionary-comprehensions | while-loop | operations | loop-control-statements | file | touples | aggregating-data-with-functools.reduce() | file-handling | match | lambda | file-handling | string-method | identity-operator | error-handling | invalid-list | objects | round | strings | dictionaries | raise-statement | sum() | boolean-masking | sum-function | anchors-(^,-$) | syntax-error | mathematical-function | iterator | math-copysign | sorted | matplotlib | python-repl | reading:-read(),-readline(),-readlines() | zfill-function | set | class | magic-method | factorial-function | data-structure | walking-through-directories-using-os.walk() | using-lists-as-stacks | max-min | identifier | parsing-with-strptime | application | round-function | introduction-to-python | string-method | python-history | design-principle | using-else-and-finally | postfix | odd-number | variable | function-argument | global-variable | python-module | comprehension | list-vs-tuple | error-handling | list-comprehension | return-statement | input-function | while-loops | asyncio-module | context-manager | fabs-function | syntaxerror | rollback | data-structures | call | swapping | package-management | class-decorators | else | feature | string-iteration | object-attribute | using-os-and-pathlib-modules | nested-loop | data-structures-in-python | data-type | data_structure | python-django | random | decimal | literal-characters-and-special-characters | built-in-function | name-mangling | deep-copy | why-use-multiprocessing-over-threading?-(gil) | reading-and-writing-large-files-efficiently | using-join()-and-is_alive()-methods | list-indexing | destructor | statement | counter-function | scientific-notation | inherit | operator-overloading | split | input | choice | string-manipulation | working-with-file-paths | higher-order-function | identity-operators-(is,-is-not) | static-method | multiprocessing | encoding | module | regular-expression | escape-operator | exponentiation | math | sorting-and-ranking | method | array | random-function | sys-module | global | center | conditional-statements | slicing | binary | oop | using-assertions-(assertequal,-assertraises) | joining-and-merging-dataframes | test-discovery | slice | datetime.date,-datetime.time,-datetime.datetime | conversion | interpreter | installation | counter | arithmetic-operation | precedence-and-associativity | introduction-to-multiprocessing | library | decorator | opening-files-(open()) | quantifiers-(*,-+,-?,-{}) | indexing | filter | managing-directories-with-os-and-shutil | assignment-operators | iterators | datatype | with-statement | integer | exception | thread-synchronization | using-the-threading-module | key-value-pairs | copy | mutable | advanced-file-operations | complex-number | memory | access-modifier | mathematics | join | binary-operation | else-statement | print-statement | handling-missing-values-(fillna,-dropna) | tuple-unpacking | pep | overflow | default-mutable-argument | pass | list-comprehension | string-slicing | append | min-max-function | version | string-methods | class-and-inheritance | debugging | while-else-loop | built-in | data-structure | recurssion | set-operation | descriptors | zip-function | sets | loop-control | python-operators | default-arguments | condition | sorting | __future__ | min-function | bitwise-operator | string-concatenation | unit-testing | using-yield-in-functions | time-series-with-pandas | string-formatting | dictionary-methods | string-slicing | typeerror | overriding-methods | writing:-write(),-writelines() | introduction-to-threads | list-operation | tuple-methods | multiple-inheritance | dicts | tuple | dictionary | raise | lambdas | floating-point-precision | classes | complex | frozenset | creating-and-starting-threads | datetime | conditional-statement | data-type | single-inheritance | arithmetic-expression | while-and-for-loop | floats | lambda-functions | matrix | immutable-data-type | implementation | working-with-binary-files-(rb,-wb) | logical-operator | operators | list-comprehensions | shallow-copy | logical-operation | functions | control-flow | creating-custom-modules | update | operator | version-check | functional-programming | attribute | formal-and-actual-parameter | type-conversion-and-casting | sys | dataframe-and-series-objects | heap-memory | logical-operator | oops | yield | function | init | virtual-environment | logical-operators | generators | goto-function | bitwise-operator | built-in-function | namespace | operand | comment | pickling--unpickling | precedence | reading-and-writing-files | booleans | assignment-operator | for | error | asyncio | tuples | global-variable | gil | type-conversion | comparison | operator-and | string-formatting | zip | boolean-and-non-boolean | staticmethod | collections | string | python_version | working-with-dates-and-times | collection | syntax-error ...