Init commit

This commit is contained in:
Archie Fox
2024-12-02 12:32:31 +03:00
parent 61976c9a29
commit 2e7b8722ca
6 changed files with 119 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package main
import (
"fmt"
"strings"
)
func main() {
broken := "G# r#cks!"
replacer := strings.NewReplacer("#", "o")
fixed := replacer.Replace(broken)
fmt.Println(fixed)
}