Level 9 : What will be the output of the following Python code?


A = [[1, 2, 3],
     [4, 5, 6],
     [7, 8, 9]]
B = [[3, 3, 3],
     [4, 4, 4],
     [5, 5, 5]]
zip(A, B)

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