strings.is_pangram ================== .. py:module:: strings.is_pangram .. autoapi-nested-parse:: wiki: https://en.wikipedia.org/wiki/Pangram Functions --------- .. autoapisummary:: strings.is_pangram.benchmark strings.is_pangram.is_pangram strings.is_pangram.is_pangram_faster strings.is_pangram.is_pangram_fastest Module Contents --------------- .. py:function:: benchmark() -> None Benchmark code comparing different version. .. py:function:: 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 .. py:function:: 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 .. py:function:: 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