結果 : function object is not subscriptable python error