Level 9 : What is the output of this function call?


def greet(name="Guest"):
    print("Hello", name)

greet()

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