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