The comparison operator for numbers are the same as in Python. For built-in types, instead of == in Python, Java uses equals method.
Python's Boolean operators: and, or, and not are replaced by: &&, || and ! in Java
Negation is also formed differently between those two programming languages
x is not y