3  If you can’t sleep, just count sheep!!

https://www.codewars.com/kata/5b077ebdaf15be5c7f000077/train/r

3.1 Instruction

Given a non-negative integer, 3 for example, return a string with a murmur: “1 sheep…2 sheep…3 sheep…”. Input will always be valid, i.e. no negative integers.

3.2 YouTube Video

3.3 Solution Code

Solusi bar-bar

Solusi simple

3.4 Test

library(testthat)

3.5 Supported by

StarCore Analytics