<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="serif">Those of you that are working through the
python docs may run into a problem with you try using a nested
if statement. My code was for an old version of python that
supported things like</font></p>
<font face="serif">if (condition 1):</font><br>
<font face="serif"> statment 1</font><br>
<font face="serif">else if (condition 2):</font><br>
<font face="serif"> statement 2</font><br>
<font face="serif">else:</font><br>
<font face="serif"> statement3</font>
<p><font face="serif"><br>
</font></p>
<p><font face="serif">To compile with the Anaconda enviroment (which
is exclusively Python 3) you have to <br>
</font></p>
<p><font face="serif"></font><br>
</p>
<font face="serif">if (condition 1):</font><br>
<font face="serif"> statment 1</font><br>
<font face="serif">elif (condition 2):</font><br>
<font face="serif"> statement 2</font><br>
<font face="serif">else:</font><br>
<font face="serif"> statement3</font>
<p><font face="serif"><br>
</font></p>
<p><font face="serif">Notice the "elif". I will fix the
documentation later, but that should help anyone who is stuck.</font></p>
<p><font face="serif"><br>
</font></p>
<p><font face="serif"><br>
</font></p>
<pre class="moz-signature" cols="72">--
Andrew J. Pounds, Ph.D. (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Director of the Computational Science Program
Mercer University, Macon, GA 31207 (478) 301-5627
</pre>
</body>
</html>