def solution(myString: str, pat: str) -> int:
myString, pat = myString.lower(), pat.lower()
return 1 if pat in myString else 0
import "strings"
func solution(myString string, pat string) int {
myStringLower := strings.ToLower(myString)
patLower := strings.ToLower(pat)
if strings.Contains(myStringLower, patLower) {
return 1
}
return 0
}