Python 中String没有类似Java里的contains,不过可以使用string.find返回找到的下标来判断是否包含字符串: source_string = 'abc' contains_string ...
確定! 回上一頁