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