Convert list to a string and string to a list in Python | Coffee Time Python

preview_player
Показать описание
Learn how to convert string to a list and list to a string in Python.

This is the first episode of a new series - "Coffee Time Python" where I'll be showing short and simple Python tricks/functionalities.

After so many years in Python I still confuse them (string → list / list → string) so decided to make the first episode about it. I hope this helps you as well!
Рекомендации по теме
Комментарии
Автор

What is your comment font, the cursive one. I like it.

joshuarmost
Автор

So you didnt converted list to a string, only printed list in a form of string

jac
Автор

Nice and clear explanation! Waiting for more :)

alienos
Автор

How can I convert a string without spaces as “home” in a list?

jeffbezos
Автор

TypeError: sequence item 0: expected str instance, bytes found :((

sumantreddy