How Python Installation after java installed?

Is it possible to install both java and python on same computer? And if yes will both work fine?

I have already installed java on my laptop. Now I want to install python on the same laptop but without uninstalling the java.

But how will I set the environment variable path for python if it is already assigned with jdk?

Please answer !!