|
|
|
@ -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 : |
|
|
|
|