結果 : int object is not subscriptable error in python