Question: If set 1 = { 1 , 5 , 3 , 6 } then what is the result of set 1 . discard ( 9

If set 1={1,5,3,6} then what is the result of
set1.discard(9)
a. No error, not output
b. Error as value 9 is not available
c. Error as 9 index is not available
d. None of the above
If set 1 = { 1 , 5 , 3 , 6 } then what is the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!