R

Ram Sharma • 193.86K Points
Coach

Q. What will be the output of following Python code?

Code:
set1={2,5,3}

set2={3,1}

set3={}

set3=set1&set2

print(set3)
  • (A) {3}
  • (B) {}
  • (C) {2,5,3,1}
  • (D) {2,5,1}

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.