6 kyu

Tricky Kotlin #1: invoke a string

361 of 362ice1000

Description:

This is a series of Kotlin tricks.

In this Kata, you should make this compile:

"this is a string, invoke it!"("wow, I am the argument!")

Whatever the argument is, just return the argument. There will be only one argument.

The example tests are the same as the final tests.

Fundamentals

Stats:

CreatedSep 9, 2017
PublishedSep 9, 2017
Warriors Trained775
Total Skips94
Total Code Submissions797
Total Times Completed362
Kotlin Completions361
Total Stars6
% of votes with a positive feedback rating91% of 88
Total "Very Satisfied" Votes75
Total "Somewhat Satisfied" Votes10
Total "Not Satisfied" Votes3
Total Rank Assessments9
Average Assessed Rank
6 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • ice1000 Avatar
  • Voile Avatar
  • __eloise__ Avatar
Ad