<p>这是“如何像计算机科学家一样思考”的练习。我正在学习Python/programming,我不知道如何完成这项任务。</p>
<p>这是本书中的一个例子,显示的是向前的字母,我不知道如何得到相反的效果。必须使用while循环。</p>
<pre><code>fruit = 'banana'
index = 0
while index > len(fruit):
letter = fruit[index]
print letter
index = index + 1
</code></pre>