~


Use what you learned

Challenge

Below, there's a console with a list called li that holds the numbers between 1 and 6. Use a combination of the techniques above to turn li into a list that holds only the evennumbers between 1 and 6.

# To start, li = [1, 2, 3, 4, 5, 6]
# After your code, li should be [2, 4, 6]