package main
import (
"fmt"
)
func printTextDiagonallyRecursivelyLTR(spaces string, text string) {
if len(text) > 0 {
fmt.Println(spaces + string(text[0]))
printTextDiagonallyRecursivelyLTR(spaces+" ", text[1:])
}
}
func main() {
printTextDiagonallyRecursivelyLTR("", "HELLO WORLD")
}
/*
run:
H
E
L
L
O
W
O
R
L
D
*/