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