ArcGIS and Python
<p>I'm trying to get my head around python integration in ARC. But we don't learn it till next semester, however I see it fit to fulfill my need for my project. (Took second semester project in first) </p>

<p>I'm attempting to take multiple conditions (low, medium, high) and assign a value. <code>5 = no</code> results, <code>4 = low</code>, and so on <code>till 0 = not present</code>. </p>

<p>I understand this is using a while loop? </p>

<pre><code>IE 
def Condition (field_16,field_8):
     While field_8 == "choice0":    
          if value(or is this field_16) == "choice0"  
               return "5"
</code></pre>

<p>Etc, can anyone give me a tip or shell? </p>

<p>And then the <code>condition = Condition (!field_16!)</code></p>

<p>Little stuck with python in arc. </p>

<p>Thanks! </p>