diff --git a/subjects/reversesecondhalf/README.md b/subjects/reversesecondhalf/README.md index 56dc1d8c2..5146ca15b 100644 --- a/subjects/reversesecondhalf/README.md +++ b/subjects/reversesecondhalf/README.md @@ -26,9 +26,9 @@ import ( ) func main() { - fmt.Print(ReverseSecondHalf("This is the 1st half This is the 2nd half")) - fmt.Print(ReverseSecondHalf("")) - fmt.Print(ReverseSecondHalf("Hello World")) + ReverseSecondHalf("This is the 1st half This is the 2nd half") + ReverseSecondHalf("") + ReverseSecondHalf("Hello World") } ``` @@ -39,4 +39,4 @@ $ go run . | cat -e flah dn2 eht si sihT$ Invalid Output$ dlroW$ -``` \ No newline at end of file +```