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


z = lambda x : x * x

print(z(6))

Author: SandhyaR | Tags: lambda-function | 1736+ Python FAQs | Share
indexing | gil | postfix | immutable-data-type | comparison | join | thread | matrix-list-comprehension | swapping | zip | floating-point-precision | assignment-operator | basic | operator-or | feature | function | zip-function | choice | package-management | while-else-loop | tuple | import-method | map-function | else-statement | string-concatenation | logical-operation | loop-control | min-max-function | shallow-copy | turtle | binary | implementation | rollback | generator | file-handling | built-in-function | logical-operator | __all__-attribute | int | asyncio-module | exponentiation | variable | regex | logical-operator | append | sys | numeric | operations | zfill-function | slicing | async | identity-operator | print | statement | global | class-and-inheritance | lambda-function | class | tuple-unpacking | scientific-notation | string-manipulation | installation | bitwise-operator | operator-and | numpy | dicts | fabs-function | pandas | list-vs-tuple | round | counter-function | control-statement | function-and-scope | update | def | id-function | for | iterable | compute | mathematical-function | iterator | identifier | math | python-history | list-mutation | yield | oop | control-flow | docstring | indentation | file | global-keyword | file-handling | list-comprehension | methods | string | namedtuple | string-formatting | regular-expression | syntax | data_structure | sum-function | operand | __init_subclass__ | goto-function | heap-memory | type_conversion | static-method | object-attribute | design-principle | benefit | recurssion | comment | precedence-and-associativity | class-and-object | math-copysign | mysql | virtual-environment | binary-operation | complex-number | encoding | sys-module | asyncio | application | matplotlib | control-flow | descriptors | collection | return-statement | datetime | string-method | call | list-slicing | magic-method | init | virtual-environment | set | lambdas | namespace | conversion | typeerror | condition | boolean | syntax-error | match | multiprocessing | escape-operator | random-function | input-function | data-type | counter | list | module | file_handling | operator | invalid-list | threading | type-conversion | min-function | arithmetic-operation | recursion | odd-number | loop | data-structure | print-statement | oops | datatype | generators-in-python | exception-handling | comprehension | bitwise-operator | data-structure | decorator | access-modifier | syntax-error | decimal | center | multithreading | type-conversion | __future__ | mathematics | python-module | assert | attribute | built-in | sorting | constructor | set-operation | version | memory-management | data-structures | arithmetic-expression | name-mangling | string-iteration | split | lambda | error | string-slicing | operator-overloading | keyword | objects | list-join | identity-operator | range | classes | mapping-function | dictionary | expression | exception-handling | memory | polymorphism | generators | input-function | string-method | library | list-operation | syntaxerror | destructor | conditional-statement | loops | pep | class-and-instance-variable | context-manager | list-method | filter | while-loop | method | global-variable | software-design | error-handling | version-check | multiple-inheritance | enumerate() | data-type | matrix | string-slicing | python_version | pickling-&-unpickling | command-line-parsing | filter-function | dictionaries | encapsulation | copy | round-function | precedence | debugging | built-in-function | interpreter | array | integer | bitwise | conditional-statement | function-argument | immutability | python-repl | sorted | expand-tab | raise | python | inherit | overflow | head-and-tail | global-variable | formal-and-actual-parameter | format | touples | boolean-and-non-boolean | parameter | lists | nested-loop | default-mutable-argument | mutable | factorial-function | random | higher-order-function | staticmethod | stack | list-comprehension | string-formatting | complex | input | max-min | functional-programming | collections | operators | sum() | while-and-for-loop | functions | with-statement | exception | frozenset | deep-copy | list-indexing | slice | inheritance | pseudocode | python-django ...