def f():
a = [1,2,3,4,5]
b = [4,5,6,7,8]
c = []
for i in a:
if i not in b:
c.append(i)
return c
import codewars_test as test
# TODO Write tests
import solution # or from solution import example
# test.assert_equals(actual, expected, [optional] message)
@test.describe("Example")
def test_group():
@test.it("test case")
def test_case():
test.assert_equals(f(), [1,2,3])