assert var == 0 code example Example 1: assert var == 0 assert var == 0 Example 2: assert var == 0 assert var != 0