Level 10 : What is the output for the below code?


list = ['a', 'b', 'c', 'd']
result = ''.join(list)
print(result)

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