Level 9 : What are the two main types of functions in Python?

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