Python vs JAVA
Dynamically Typed1.No need to declare anything. An assignment statement binds a name to an object, and the
object can be of any type.2.No type casting required when using container objects
Concise Express much in limited words
Compact
Uses Indentation for structuring code
Dynamically Typed1.No need to declare anything. An assignment statement binds a name to an object, and the object
can be of any type.2.No type casting required when using container objects
Concise Express much in limited words
Compact
Uses Indentation for structuring code
Java AND PYTHON
Statically Typed 1.All variable names (along with their types)
must be explicitly declared. Attempting to assign an object of
the wrong type to a variable name triggers a type
exception.2.Type casting is required when using container
objects.
Verbose Contains more words
Less Compact
Uses braces for structuring code