Level 9 : What will be the output of the following code?


def fun():
    return pass
print(fun())

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