itemlist python code example
Example 1: list in python
#list is data structure
#used to store different types of data at same place
list = ['this is str', 12, 12.2, True]
Example 2: lists in python
[0,'',True,5.2,False,[1,2]]
#list is data structure
#used to store different types of data at same place
list = ['this is str', 12, 12.2, True]
[0,'',True,5.2,False,[1,2]]