geeksforgeeks practice: how to take inputs?
<p>I am trying to code in geeksforgeeks practice in this link: <a href="http://www.practice.geeksforgeeks.org/problem-page.php?pid=282" rel="nofollow">http://www.practice.geeksforgeeks.org/problem-page.php?pid=282</a></p>

<p>I use Python. The default code does not have anything. How should I take my inputs and return my outputs? </p>

<p>hope it work for you :</p>

<pre><code>T = int(raw_input()) 
if T &lt; 0 or T &gt; 10 :
    print '0&lt;=T&lt;=10 !'
    exit(0)
for x in xrange(T):
    print '.'.join(str(raw_input()).split('.')[::-1])
</code></pre>

python