lists in python example
Example 1: lists in python
lst = ["abc", 34, True, 40, "male"]
for i in lst:
print(i)
Example 2: lists in python
lst = ["abc", 34, True, 40, "male",[1],[]]
for i in lst:
print(i)
Example 3: lists in python
[0,'',True,5.2,False,[1,2]]