3 ms·
And if you specify that they are numbers then you lose the ability of the function to generalize to vectors. Indeed assuming it adds two things is correct, and
by radarsat1 2y ago
And if you specify that they are numbers then you lose the ability of the function to generalize to vectors.
Indeed assuming it adds two things is correct, and knowing that concatenation is how Python defines adding strings is important for using the language in the intended way.
- GTP 2y agoWhat about the case of passing a number and a string?