How To Write Advanced Python Code