結果 : function object is not subscriptable error in python