擅长:python、mysql、java
<blockquote>
<p>If x is 3 higher than y</p>
</blockquote>
<pre><code>if x+3 == y:
#code
</code></pre>
<blockquote>
<p>the program give feedback only if a number is 3 higher than the random
number or 3 less.</p>
</blockquote>
<pre><code>if x+3 == y or x-3 == y:
#give feedback
</code></pre>
<p>资料来源:</p>
<p><a href="http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/ifstatements.html" rel="nofollow">http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/ifstatements.html</a></p>