πŸ“Š Python
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}
πŸ’¬ Discuss
βœ… Correct Answer: (A) {3}

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
134
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
94%
Success Rate