Check if all elements of list A are in list B. Example: [1,2], [1,2,3,4] => True
Implement this function:
def is_subset(a: list, b: list) -> bool:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: a, b.
Input
[1, 2]
[1, 2, 3, 4]
Output
True