+ 2
Problem 1
you don't get back a set if you use add() method when creating a set object. noneValue = set().add(elem) The above statement doesn't return a reference to the set but 'None', because the statement returns the return type of add which is None. I couldn't get the explanation properly.
0 Answers