Level 3 : What is the output of following code?


p =['a','b','c']
res = ''.join(k)
print(res)

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