a = [1, 1, 2, 3]
b = [1, 2, 3, 4, 5]
contained(a, b)
a = [1, 2, 3]
contained(a, b)
a = [1, 1, 2, 4, 4]
b = [1, 1, 2, 2, 2, 3, 4, 4, 5]
contained(a, b)
How to check a list contained by another list without a loop?