In previous chapter we learned how to run a block of commands more than once. That's why we introduced a
for loop and reviewed its main uses. The purpose of this chapter is to improve our knowledge ,with solving some more complicated problems with loops, used for exam contests. For some of them we will show sample of detailed solutions, and for others we will leave only guidance.