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