Level 9 : What is the output of the following program?


z = lambda x : x * x

print(z(6))

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