Capybara is one of the most popular feature testing framework in the Ruby on…
Since Kotlin is a multi-paradigm language, we can also avoid using for loop and use recursion instead…
Update (13 July 2017): I fix the wrong weight average logic in the code and also provide a…