6 kyu
Tricky Kotlin #2: three fundamental functions
265ice1000
Description:
This is a series of Kotlin tricks.
In this Kata you should implement three fundamental functions:
- unless (the opposite of
if
) - until (the opposite of
while
) - forceRun (whatever happens (exceptions? errors?), just make it continue)
The example tests are nearly the same as the final tests(just some more robust tests). This is why I provide such poor initial solution.
Fundamentals
Similar Kata:
Stats:
Created | Sep 9, 2017 |
Published | Sep 9, 2017 |
Warriors Trained | 605 |
Total Skips | 106 |
Total Code Submissions | 506 |
Total Times Completed | 265 |
Kotlin Completions | 265 |
Total Stars | 8 |
% of votes with a positive feedback rating | 92% of 56 |
Total "Very Satisfied" Votes | 48 |
Total "Somewhat Satisfied" Votes | 7 |
Total "Not Satisfied" Votes | 1 |
Total Rank Assessments | 8 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |