https://www.nowcoder.com/discuss/393925我的思路,python20行全A