Set .discard(), .remove() & .pop()

  • + 7 comments

    Beware! using of eval for such purpose is a bad practice. You can see how I solved it using python dictionary in a clean and elegant way.

    Set .discard(), .remove() & .pop() Solution