Python simple for loop issue
<p>Currently learning python. Normally a C++ guy.</p>

<pre><code>if wallpaper == "Y":
    charge = (70)
    print ("You would be charged £70")
    wallpaperList.append(charge)

elif wallpaper == "N" :
    charge = (0)

else:
    wallPaper ()

surfaceArea
    totalPapers = 0
    for item in range (len(wallpaperList)):
        totalPapers += wallpaperList[item]
</code></pre>

<p>I am trying do a for loop for the if statement.</p>

<p>In c++ this will just be a simple</p>

<pre><code>for (I=0; i&lt;pRooms; i++){
}
</code></pre>

<p>I am trying to add the above code in a for loop but I seem to fail.</p>

<p>Thanks</p>