diff --git a/subjects/reversesecondhalf/README.md b/subjects/reversesecondhalf/README.md index 5146ca15b..dc88faeb8 100644 --- a/subjects/reversesecondhalf/README.md +++ b/subjects/reversesecondhalf/README.md @@ -26,10 +26,11 @@ import ( ) func main() { - ReverseSecondHalf("This is the 1st half This is the 2nd half") - ReverseSecondHalf("") - ReverseSecondHalf("Hello World") + fmt.Print(ReverseSecondHalf("This is the 1st half This is the 2nd half")) + fmt.Print(ReverseSecondHalf("")) + fmt.Print(ReverseSecondHalf("Hello World")) } + ``` And its output :