Building a string in a loop

r = ''; for c in 'abc': r = c + r → cba

You can also choose a level by clicking its number.

About the course

Description
What you get when a loop adds characters to the beginning or to the end of a string
More information
The examples are in Python. Indentation determines what belongs to a loop or a condition.
Sample question
r = ''; for c in 'abc': r = c + r → cba
Author
Jiří Preisler
Version
1.0