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

  • + 0 comments

    I se all these solutions using command = input().split() and command[0] and command[1] to access the names and values, but where do we obtain them in the first place.

    When I print s, the set only has values in them. Is it assumed that with each input() we write in our code, the user will provide an input like the example?

    Isn't it very vaguely indicated in the task?