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