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