擅长:python、mysql、java
<p>假设你想用4个字的重复反印这个字。你知道吗</p>
<pre><code>word = 'help_me_code_please'
# Looping from backwards on the word with a step of 4
for i in range(len(word)-1, -1, -4):
# j is the starting point from where we have to print the string.
j = i-3 if i > 3 else i-1
print word[j:i+1]
</code></pre>