Tech Challenge
2026-07-14
🦫
Daily Tech Challenge
Go
medium
Question 1 of 5
What does this Go program print?
Example
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