why python is slower than java

Java
Python is dynamically typed, while Java is statically typed.
That's very important when we're talking about speed, because 
it is actually noticeable in compilation time. 
Generally speaking, we could say that Python launches faster 
and runs slower, while Java launches slower and runs faster.
Source

Also in Java: