list1 = [15, -1, 11, -5, -5, 5, 3, -1, -7, 13, -11, -11, 7, 13]  # Base list
even_list = []  # Creates blank list

for i in list1:  # Iterates through list1 assigning i to the next value each time through
    if i % 2 == 0:  # If 'i' is divisible by 2 (even) then:
        even_list.append(i)  # Add the value of 'i' to a new list 'even_list'
print(even_list)  # Print the value of 'even_list'

list1 = [15, -1, 11, -5, -5, 5, 3, -1, -7, 13, -11, -11, 7, 13]  # Base list
even_list = []  # Creates blank list

for i in list1:  # Iterates through list1 assigning i to the next value each time through
    if i % 2 == 0:  # If 'i' is divisible by 2 (even) then:
        even_list.append(i)  # Add the value of 'i' to a new list 'even_list'
print(even_list)  # Print the value of 'even_list'

# Base list # Creates blank list # Iterates through list1 assigning i to the next value each time through # If 'i' is divisible by 2 (even) then: # Add the value of 'i' to a new list 'even_list' # Print the value of 'even_list'