R

Ram Sharma • 193.86K Points
Coach

Q. What will the below Python code do?

Code:
set1={2,3}

set2={3,2}

set3={2,1}

if(set1==set2):

    print("yes")

else:

    print("no")

if(set1==set3):

    print("yes")

else:

    print("no")
  • (A) Yes, No
  • (B) No, No
  • (C) Yes, Yes
  • (D) "==" is not supported for set in Python

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.