Browse Source

correct the subject

DEV-3181-new-go-exercise-printandmiss
zainab Dnaya 2 years ago committed by GitHub
parent
commit
ba395843bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      subjects/printandmiss/README.md

1
subjects/printandmiss/README.md

@ -4,7 +4,6 @@
Write a function called `PrintAndMiss` that takes a string and an integer and return a string containing the characters until reaching the integer, then skipping that same number of characters, and repeats until the end of the string.
- Return the first half followed by newline `\n`.
- If the string is empty return `Invalid Output` followed by newline `\n`.
- If the integer is `0` or it's negative return the string followed by a newline `\n`.

Loading…
Cancel
Save