πŸ“Š Python
Q. What is the output, if set1 = {1, 2, 3}?
Code:
set1.issubset(set1)
  • (A) True
  • (B) False
  • (C) Error
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) True

Explanation: Each set is a subset of itself.

Explanation by: Rajeev Malhotra
Each set is a subset of itself.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
199
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Rajeev Malhotra
Publisher
πŸ“ˆ
80%
Success Rate