>No, no, no, no, no! Why not clarify what are those accepted arguments?
> What the following code is doing?
def shuffle(args):
# do something
It's misusing the args - you shouldn't be using args/kwargs there in the first place - they should be used for forwarding and things like that - eg. you're writing a generic function decorator and things like that.If you want a collection to operate on "cards" then pass cards as a collection, if you want to operate on abstract function parameters use args/kwargs