Concept

list()

This function is used to convert any data type to a list type.

s = 'word' c = list(s) print(c)
['w', 'o', 'r', 'd']

0

0

Updated 2021-07-27

Contributors are:

Who are from:

Tags

Python Programming Language

Data Science