Please help me in printing message
<pre><code>def printmessage(self, i, string1, string2):       
    count=1
    while (count &lt;=i):
        print count
        print string1[count-1]
        print string2[count-1]
        statename=str(string1[count-1])
        princename=str(string2[count-1])
        print "case#:%d %s is ruled by %s "+ (i,statename,princename) #
        '{0}, {1}, {2}'.format(count, statename,princename) #
        print "hi123" #
        print ("case" + count) #
        print " ere" +string1[count-1]
        print (" case:" + count + " " + string1[count-1] + "is ruled by a "+ string2[count-1])
        count=count+1
</code></pre>

<p>I am unable to print the last print message</p>
