擅长:python、mysql、java
<p>在<em>if</em>语句中,如果title不匹配,则将打破for循环。改用continue语句</p>
<pre><code>if submission1.title == realrealtitle:
continue; # try the next submission in subreddit.new(limit=200)
</code></pre>
<p>如果标题匹配,你想试试下一个</p>
<p>还有两件事上一个<em>中断</em>是不可检查的,您正在<em>标题</em>中存储<em>提交的较低版本。标题</em>,请确保“string1”、“string2”等。。。也比较低</p>