6 Answers
+ 7
Java
+ 5
different uses. neither is "better" in general. But each is better at certain things.
 If I need to manipulate files, build a webcrawler, or various utility purposes, I choose Python everytime. even when I am using Java and have an idea for a method I want, I will prototype it in Python first because it's easier and faster. 
if I want actual software when I am done, Java is my choice. If I need an app, Java is my choice.
0
what makes python faster @Kyle
0
it is just quicker to write things to get them out of my head.. for instance..
-------------------------------------------------
Hello World in Java-
class Dcoder
 { 
	public static void main(String args[])
 	{ 
System.out.println("Hello World");
 	}
 }
Hello World in Python-
print("Hello World")
-----------------------------------------------------
addition method java vs python-
Java-
class Dcoder
 { 
public static int add(int x, int y){
int c = x+y;
return c;
}
	public static void main(String args[])
 	{ 
System.out.println(add(4,6));
 	}
 }
Python-
def add(x,y):
    c=x+Y
   return c
print(add(4,5))
--------------------------------------------
My codes here are often done in both Python and Java. My RGB to Hex convertor was worked out in python first. then once I had the math worked out I could easily throw it into Java.
0
Here is an example. I wanted this conversion for this program I was making in Java http://leakyegg.website.tk/RGB.zip .. First I did the math in Python.. Once I figured it out I Redid it in Java.
https://code.sololearn.com/czu7qnKGDXi2/?ref=app
https://code.sololearn.com/cJsZR99yhP6O/?ref=app
0
thanks @ kyle



