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