it mentioned that python is similar to java?
I don't see how Python is similar to Java with the following differences
1) Radically different syntax such as Python(indentation nesting), Java(Brackets nesting)
2) Static type checking in Java vs Dynamic type checking in Python
3) Fully threaded model with JVM with GIL, GIL in CPython
4) Advance GC implementation in JVM, Reference Counting for Python
5) Globally well defined Inheritance model all the way from the top (Class/Object classes) in Java
6) Single parent inheritance in Java, Multiple parents inheritance in Python
7) OO concept strictly enforced in Java, while Python can be written without OO. You can't write even the simplest "Hello World" in Java without inside a Class.
Just these difference already greatly deviate the resemblance of Java and Python.