diff --git a/subjects/wordflip/README.md b/subjects/wordflip/README.md index 49d4d62c5..4e5bb6216 100644 --- a/subjects/wordflip/README.md +++ b/subjects/wordflip/README.md @@ -27,10 +27,10 @@ import ( ) func main() { - fmt.Print(WordFlip("First second last")) - fmt.Print(WordFlip("")) - fmt.Print(WordFlip(" ")) //all spaces - fmt.Print(WordFlip(" hello all of you! ")) + WordFlip("First second last") + WordFlip("") + WordFlip(" ") //all spaces + WordFlip(" hello all of you! ") } ``` @@ -43,4 +43,4 @@ last second First$ Invalid Output$ $ you! of all hello$ -``` \ No newline at end of file +```