strings.is_pangram

wiki: https://en.wikipedia.org/wiki/Pangram

Functions

benchmark(→ None)

Benchmark code comparing different version.

is_pangram(→ bool)

A Pangram String contains all the alphabets at least once.

is_pangram_faster(→ bool)

is_pangram_fastest(→ bool)

Module Contents

strings.is_pangram.benchmark() None

Benchmark code comparing different version.

strings.is_pangram.is_pangram(input_str: str = 'The quick brown fox jumps over the lazy dog') bool

A Pangram String contains all the alphabets at least once. >>> is_pangram(“The quick brown fox jumps over the lazy dog”) True >>> is_pangram(“Waltz, bad nymph, for quick jigs vex.”) True >>> is_pangram(“Jived fox nymph grabs quick waltz.”) True >>> is_pangram(“My name is Unknown”) False >>> is_pangram(“The quick brown fox jumps over the la_y dog”) False >>> is_pangram() True

strings.is_pangram.is_pangram_faster(input_str: str = 'The quick brown fox jumps over the lazy dog') bool
>>> is_pangram_faster("The quick brown fox jumps over the lazy dog")
True
>>> is_pangram_faster("Waltz, bad nymph, for quick jigs vex.")
True
>>> is_pangram_faster("Jived fox nymph grabs quick waltz.")
True
>>> is_pangram_faster("The quick brown fox jumps over the la_y dog")
False
>>> is_pangram_faster()
True
strings.is_pangram.is_pangram_fastest(input_str: str = 'The quick brown fox jumps over the lazy dog') bool
>>> is_pangram_fastest("The quick brown fox jumps over the lazy dog")
True
>>> is_pangram_fastest("Waltz, bad nymph, for quick jigs vex.")
True
>>> is_pangram_fastest("Jived fox nymph grabs quick waltz.")
True
>>> is_pangram_fastest("The quick brown fox jumps over the la_y dog")
False
>>> is_pangram_fastest()
True