Indentation Error for a loop
<p>I keep getting a IndentationError: expected an indented block. Why is this error occurring?</p>

<pre><code>import arcpy
from arcpy import env
env.workspace = r'D:\Programming\Lab1\lab1.gdb'
env.overwriteOutput = 1
env.qualifiedFieldNames = "UNQUALIFIED"

#list the feature classes
soils = arcpy.ListFeatureClasses()

for soils in arcpy.ListFeatureClasses():
</code></pre>

<p>You are missing code inside your for loop.</p>

<p>Try:</p>

<pre><code>for soil in soils:
    print(soil)
    # or pass
</code></pre>

python