結果 : method object is not subscriptable python error