結果 : nonetype object is not subscriptable python dictionary