forloop

I thought it better to add a forloop in the learning repo.