Assignments done in Python instead of Java