leetcode 131. Palindrome Partitioning(python)

NoSuchKey