結果 : typeerror nonetype object is not subscriptable in python