try to use python to solve some questions