Indentation affecting program in Sage
<pre><code>k=10
l=1
o=2
F=IntegerModRing(k)
R.&lt;t&gt;=F[]
K.&lt;x&gt;=R.quotient(t^o-1)
poly=((x+l)^k)-(x^k)-l
m=poly.list()
if(m!=0):

     print k
</code></pre>

<p>This gives output 10 as it should</p>

<pre><code>k=10
o=2
l=1        
F=IntegerModRing(k)
R.&lt;t&gt;=F[]
K.&lt;x&gt;=R.quotient(t^o-1)
poly=((x+l)^k)-(x^k)-l
m=poly.list()
        if(m!=0):
            print k
</code></pre>

<p>And this gives no output at all.
Don't know what the problem is.Almost have no experience in python which might be the problem.</p>