How to convert a string into a list in Python?

 

How to convert a string into a list in Python?

- Use list() function or .split() for converting a string into a list. This tutorial explains it all. - Learn how to check the data type of string or list in python.