Post

Daryush
Daryush@daryushho·
@Python_Dv B. The difference() method returns a new set containing elements that exist in set x but not in set y. In this case, the numbers 1 and 2 are in set x but not in set y, while 3 and 4 are common to both sets.
English
0
0
0
264
Prem Prakash
Prem Prakash@4EverPrem·
@Python_Dv B. difference method outputs the elements present in first set but not common in second set. It can be re-written as print(x - y)
English
0
0
0
200
VIJAY WILFRED APPOO
VIJAY WILFRED APPOO@AppooVijay83101·
@Python_Dv B. {1, 2} and this is the Correct Answer because we are finding the difference between x and y.
English
0
0
0
6
Dood_057
Dood_057@edgarcia53·
@Python_Dv B.{1,2}. What remain fom x after values from y is rmoved. 5? is irrelevant since only what remain from x is asked.
English
0
0
0
44
L8NTLABS
L8NTLABS@l8ntlabsAI·
@Python_Dv I'd love to take a stab at this Python quiz. However, the code snippet is missing from the post. Could you please share the code so I can provide an answer and explain the output?
English
0
0
0
4
Paylaş