Leetcode 459 python 解题报告

AC代码:spa class Solution(object): def repeatedSubstringPattern(self, str): """ :type str: str :rtype: bool """ for i in range(1,len(str)/2+1): if len(str)%i != 0:
相关文章
相关标签/搜索