1# Creating sets2A = {1, 2, 3}
3B = {1, 2, 3, 4, 5}
45# Checking if A is subset of B (vice versa)6# Returns True7# A is subset of B8print(A.issubset(B))
910# Returns False11# B is not subset of A12print(B.issubset(A))
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content