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