When reading the docs for the first time, I was a little confused by the reuse of number as the argument name for A and B and how they might be related. After running the code, it became clear that they are not related.
I think renaming number to multiplier in B will help others understand this better
When reading the docs for the first time, I was a little confused by the reuse of
number
as the argument name forA
andB
and how they might be related. After running the code, it became clear that they are not related.I think renaming
number
tomultiplier
inB
will help others understand this better