R

Ram Sharma • 193.86K Points
Coach

Q. What will the below Python code do?

Code:
set1={"a",3,"b",3}

set1.remove(3)
  • (A) It removes element with index position 3 from set1
  • (B) It removes element 3 from set1
  • (C) It removes only the first occurance of 3 from set1
  • (D) No such function exists for set

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.