Python Code's style Review