擅长:python、mysql、java
<p>你可以把这条线倒过来:</p>
<pre><code>task = ['i believe i can fly i believe i can touch the sky', 'i think about it every night and day spread my wings and fly away']
for line in task:
print(line[::-1], end='\n')
</code></pre>
<p><strong>输出</strong></p>
<pre><code>yks eht hcuot nac i eveileb i ylf nac i eveileb i
yawa ylf dna sgniw ym daerps yad dna thgin yreve ti tuoba kniht i
</code></pre>