Golf Code Assignment Problem

Golf Code Assignment Problem
0.0 0

#1

Hi Every one,

Kindly check the image and my I know where is the problem?


Thank you


#2

Look carefully at the string you are returning for strokes == 1. Re-read the instructions for the exact string to return. You are missing a character.

BTW - In the future, it is always better to post your actual code into a post instead of a screenshot. When your code is longer and more complex, it allows others to “play” with the code to debug it faster.

To enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.


#3

Thank you Randelldawson for the reply.