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