πŸ“Š Python
Q. What will set1|set2 do?
Code:
If set1={"a","b",3}
set2={3,7}
  • (A) Elements of set2 will get appended to set1
  • (B) Elements of set1 will get appended to set2
  • (C) A new set will be created with the elements of both set1 and set2
  • (D) A new set will be created with the unique elements of set1 and set2.
πŸ’¬ Discuss
βœ… Correct Answer: (C) A new set will be created with the elements of both set1 and set2

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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