Cognizant interview question

what is the difference between python and java