it has switch-case statement the variable in for loop does not incremented automatically memory allocation and de-allocation is not automatic it does not contain garbage collection it supports single and multi dimensional arrays the array index should be positive integer indentation of statements in not necessary semicolon is used to terminate the statements and comma is used to separate expressions variables it supports in-line assignment sscasc@tumkur it does not have switch-case statement the variable in the for loop incremented automatically memory allocation and de-allocation is done automatically by pvm automatic garbage collection it supports only single dimensional array implement multi dimensional array we should use third party application like numpy array index can be positive and negative integer negative index represents location from the end of the array indentation is required to represents block of statements new line indicates end of the statements and semicolon is used as an expression separator it does not supports in-line assignment comparison between java and python java pure object-oriented programming language python both object-oriented and procedure-oriented programming language java programs are verbose python programs are concise and compact declaration of variable is compulsory type declaration is not required type discipline is static and weak type discipline is dynamic and string it has whilefor and do-while loops it has while and for loops it has switch-case statement it does not have switch-case statement the variable in for loop does not incremented the variable in the for loop incremented automatically automatically memory allocation and de-allocation is memory allocation and de-allocation is done automatically by jvm automatically by pvm it supports single and multi dimensional arrays it supports only single dimensional array implement multi dimensional array we should use third party application like numpy the array index should be positive integer array index can be positive and negative integer negative index represents location from the end of the array indentation of statements in not necessary indentation is required to represents block of statements semicolon is used to terminate the new line indicates end of the statements and statements and comma is used to separate semicolon is used as an expression separator expressions variables the collection objects like stacklinked list or the collection objects like lists and dictionaries vector but not primitive data types like intcan store objects of any type including floatchar etc numbers and lists sp_python programming