**Question:**

Write assert statements to verify that every number in the list [2,4,6,8] is even.

**Hints:**

- Use “assert expression” to make assertions.

**Solution:**

li = [2,4,6,8] for i in li: assert i%2==0

Write assert statements to verify that every number in the list [2,4,6,8] is even.

- Use “assert expression” to make assertions.

li = [2,4,6,8] for i in li: assert i%2==0