Some addition on python and java