Write a function called `PrintAndMiss()` that takes a string and an integer and prints a string containing the characters until reaching the integer, then skipping that same number of characters, and repeats until the end of the string.
Write a function called `PrintAndMiss` that takes a string and an integer and prints a string containing the characters until reaching the integer, then skipping that same number of characters, and repeats until the end of the string.
- Prints the first half followed by newline `\n`.
- If the string is empty retun `Invalid Output`.
@ -22,9 +22,7 @@ Here is a possible program to test your function :