結果 : python error nonetype object is not subscriptable