John-Li/my_programs — comment on commit 1935bbe2058b98c3abd8a8119a9199d7bb5ad94d
File: book/files/task_489.rb line 19
By gmile:

No need for `while` cycle here. Give it another try.