PHD4GNQPZH2JT4HBLYWGFCON57IQO4BCMVJVRP72HFIJHKY256XAC
// Package pangram is for finding pangrams. Pangram is a set of characters which
// contains all letters from the alphabet.
package pangram
import "strings"
const alphabet = "abcdefghijklmnopqrstuvwxyz"
// IsPangram returns true if input is a pangram.
func IsPangram(input string) bool {
if len(input) < len(alphabet) {
return false
}
input = strings.ToLower(input)
for _, ch := range alphabet {
if strings.ContainsRune(input, ch) {
continue
}
return false
}
return true
}