Jump to content

Boston Python workshop 2/Friday tutorial: Difference between revisions

No edit summary
Line 517:
</pre>
 
You can check multiple expressions together using the <code>and</code> and <code>or</code> keywords. If two expressions are joined by an <code>and</code>, they <b>both</b> have to be True for the overall expression to be True. If two expressions are joined by an <code>or</code>, as long as <b>one</b> is True, the overall expression to beis True.
 
<pre>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.