結果 : python catch nonetype object is not subscriptable