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