leetcode 58. 最后一个单词的长度(python)

NoSuchKey