How to remove extra space for the 'print' command in python?
<p>I'm new to python, I'm using v2.7</p>

<pre><code>#Filename:ReverseNumber.py
data=int(raw_input("Enter any number: "))
print "Reverse of the number: ",
while data!=0:
    a=data%10
    print a,
    data=data/10
</code></pre>

<p>So the output should come like :</p>

<pre><code>Enter any number: 123
Reverse of the number: 321
</code></pre>

<p>but instead of this in the second line it is printing one extra space before every number.</p>

<p>How to overcome this?</p>
