iterate through our list code example
Example 1: iterate through a list
my_list = ["Hello", "World"]
for i in my_list:
print(i)
Example 2: python iterate list
lst = [12, 123, 1234, 12345]
for i in lst:
print(i)
**********************result*********************
12
123
1234
12345