Not really, you should be comparing the idiomatic ways in each language.
And if Python is more of a "batteries included / easily installable" language, then that's how you should use it.
>EDIT: For example, implementing a merge sort (without using any .sort() functions) would be interesting to compare between the three languages.
Only if you want to see how each language feels in terms of primitives and syntax and so on. Not if you want to see how you'd actually use the language, and what facilities and ecosystem you can leverage, which is more important.
If I'm going to compare Python for scientific computing to Java, for example, of course I'll consider that Python has Nympy, Pandas, Anaconda, and so on, and similar for what Java offers, not just try to e.g. write my own math code in pure Python and Java. Same for most domains...