結果 : python error method object is not subscriptable