Python, in general, would be much faster for prototyping than Java.
That is the main attraction of Pyhon.
That is the main attraction of Pyhon.
There is no one language that is faster at prototyping than others. It's purely based on whatever you experience is and what aligns most with your way of thinking.
Some people like me need strong typing and functional constructs to be productive. Others are the complete opposite.
Some people would instantly gravitate towards SPA for anything web based others would go for SSR.
etc etc.