Level 1 : Which of the following is used to perform a shallow copy of a list in Python?

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