Programming Language Python Set MCQ Question #3797
Single Choice Not Set

QWhat is the output of the following
set1 = {10, 20, 30, 40, 50}
set2 = {60, 70, 10, 30, 40, 80, 20, 50}

print(set1.issubset(set2))
print(set2.issuperset(set1))

ID: #3797 Python Set MCQ 505 views
Question Info
#3797Q ID
Not SetDifficulty
Python Set MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A False False
  • B True True
Correct Answer

Explanation

True True

Share This Question

Challenge a friend or share with your study group.