diff --git a/subjects/printandmiss/README.md b/subjects/printandmiss/README.md index 7f62fa32b..83b2bd55d 100644 --- a/subjects/printandmiss/README.md +++ b/subjects/printandmiss/README.md @@ -1,8 +1,8 @@ -## PrintAndMiss +# printandmiss ### Instructions -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 : ```go package main -import ( - "fmt" -) +import "fmt" func main() { fmt.Print(PrintAndMiss("123456789", 3))