2026-07-14
Daily Tech Challenge
What does this Go program print?
package main
import (
"fmt"
"strings"
)
func main() {
s := "xoxoxhello"
fmt.Println(strings.TrimLeft(s, "xo"))
fmt.Println(strings.TrimPrefix(s, "xo"))
}Tuesday, July 14, 2026 · A new challenge drops every day