Level 9 : What is the output of the following code?


aa = [1,3,4,5]
bb = [1,2,3,4]
print(list(map(pow, aa,bb)))

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