7 kyu

KISS - Keep It Simple Stupid

627 of 1,194j_codez

Description:

KISS stands for Keep It Simple Stupid. It is a design principle for keeping things simple rather than complex.

You are the boss of Joe.

Joe is submitting words to you to publish to a blog. He likes to complicate things.

Define a function that determines if Joe's work is simple or complex.

Input will be non emtpy strings with no punctuation.

It is simple if: the length of each word does not exceed the amount of words in the string (See example test cases)

Otherwise it is complex.

If complex:

return "Keep It Simple Stupid"

or if it was kept simple:

return "Good work Joe!"

Note: Random test are random and nonsensical. Here is a silly example of a random test:

"jump always mostly is touchy dancing choice is pineapples mostly"
Strings
Fundamentals

Stats:

CreatedSep 30, 2016
PublishedSep 30, 2016
Warriors Trained1695
Total Skips34
Total Code Submissions3327
Total Times Completed1194
Python Completions627
JavaScript Completions573
Clojure Completions33
Total Stars12
% of votes with a positive feedback rating89% of 276
Total "Very Satisfied" Votes224
Total "Somewhat Satisfied" Votes46
Total "Not Satisfied" Votes6
Total Rank Assessments8
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • j_codez Avatar
  • ZozoFouchtra Avatar
  • suic Avatar
  • lilsweetcaligula Avatar
Ad