Suppose u and v both denote sets in Python. Under what condition can we guarantee that u - (v - u) == u?
A.)This is true for any u and v.
B.) The set u should be a subset of v.
C.)The set v should be a subset of u.
D.)The sets u and v should be disjoint.
Answers
Answered by
4
the right answer is b
Answered by
4
Answer: C. The set v should be a subset of u.
In order to make the condition as TRUE and with the given condition u and v both denote sets in Python. The given statement can be set true when the set v is a subset of u. For example.
u = { 1,2,3 }
v = { 1, 2 }
Then u -v = {3}
then u - (u -v) = { 1, 2 } which is equal to v. Hence it is proved.
Similar questions