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