Is there a reason why Python's built-in pow
allows 3 arguments, but math.pow
allows only 2?
Of course we could lazily say, "because that's how it's designed".
But does anyone know the reason behind this design decision?
Edit:
To clarify, I understand what the difference is, but I'm wondering why we need both. Why not just have the the 3 argument built-in pow
.