結果 : python dict typeerror nonetype object is not subscriptable