A = {1, 2, 3} B = {1, 2, 3, 4, 5} # all items of A are present in B print(A.issubset(B)) # Output: True