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

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