Level 10 : What does this output?


a = [1, 2, 3]
b = a * 2
b[2] = 99
print(a, b)

Author: SandhyaR | Tags: list | 1736+ Python FAQs | Share
constructor | round | goto-function | call | scientific-notation | formal-and-actual-parameter | syntax-error | invalid-list | range | factorial-function | oop | yield | sys | encapsulation | deep-copy | pickling-&-unpickling | higher-order-function | file-handling | type-conversion | sorted | __all__-attribute | id-function | tuple-unpacking | control-flow | class | pep | global-variable | update | precedence-and-associativity | gil | zip | exception-handling | data-type | precedence | methods | global-variable | python_version | list-slicing | built-in-function | dictionaries | generators-in-python | class-and-object | python | fabs-function | datetime | rollback | odd-number | type_conversion | frozenset | matplotlib | assert | interpreter | default-mutable-argument | binary-operation | destructor | import-method | string-formatting | file-handling | access-modifier | tuple | magic-method | context-manager | bitwise | slicing | indexing | class-and-inheritance | conditional-statement | filter | operator-overloading | random | binary | file_handling | basic | lambda | exception-handling | lists | init | python-django | operand | multiple-inheritance | counter-function | complex-number | def | overflow | min-function | inheritance | version-check | iterable | identity-operator | conditional-statement | loop | multithreading | exponentiation | version | name-mangling | error-handling | string-method | string-method | command-line-parsing | software-design | keyword | immutable-data-type | choice | split | indentation | immutability | __init_subclass__ | assignment-operator | list | threading | else-statement | matrix | join | matrix-list-comprehension | input | while-and-for-loop | list-comprehension | with-statement | heap-memory | max-min | syntaxerror | expand-tab | loop-control | mathematics | turtle | memory | generator | functions | comment | postfix | boolean-and-non-boolean | nested-loop | integer | string | floating-point-precision | __future__ | sorting | while-loop | slice | stack | array | sys-module | multiprocessing | variable | print | operations | mysql | map-function | oops | library | python-repl | head-and-tail | mutable | asyncio | encoding | operator-or | boolean | int | iterator | shallow-copy | classes | inherit | comprehension | collection | async | statement | arithmetic-expression | dictionary | logical-operation | regex | error | input-function | built-in-function | min-max-function | numeric | datatype | dicts | string-slicing | sum() | application | operator-and | regular-expression | objects | center | functional-programming | control-statement | lambda-function | identifier | class-and-instance-variable | math | implementation | decimal | attribute | installation | list-indexing | data_structure | decorator | mathematical-function | python-module | global-keyword | module | namedtuple | recursion | expression | operators | debugging | round-function | method | list-comprehension | enumerate() | filter-function | complex | function-argument | function-and-scope | mapping-function | counter | asyncio-module | data-structure | docstring | typeerror | comparison | polymorphism | list-method | arithmetic-operation | escape-operator | set-operation | feature | operator | touples | data-type | sum-function | control-flow | match | set | swapping | conversion | raise | object-attribute | built-in | global | append | compute | list-mutation | input-function | staticmethod | while-else-loop | identity-operator | for | package-management | loops | exception | function | logical-operator | zfill-function | list-join | thread | memory-management | bitwise-operator | static-method | print-statement | collections | logical-operator | descriptors | lambdas | string-formatting | file | benefit | return-statement | list-operation | virtual-environment | generators | math-copysign | numpy | virtual-environment | syntax | string-iteration | random-function | string-slicing | zip-function | parameter | string-manipulation | syntax-error | python-history | recurssion | list-vs-tuple | pandas | string-concatenation | data-structures | type-conversion | bitwise-operator | format | design-principle | copy | condition | data-structure | namespace | pseudocode ...