>>> 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
(
input_str: str = "The quick brown fox jumps over the lazy dog",
)
| 57 | |
| 58 | |
| 59 | def is_pangram_fastest( |
| 60 | input_str: str = "The quick brown fox jumps over the lazy dog", |
| 61 | ) -> bool: |
| 62 | """ |
| 63 | >>> is_pangram_fastest("The quick brown fox jumps over the lazy dog") |
| 64 | True |
| 65 | >>> is_pangram_fastest("Waltz, bad nymph, for quick jigs vex.") |
| 66 | True |
| 67 | >>> is_pangram_fastest("Jived fox nymph grabs quick waltz.") |
| 68 | True |
| 69 | >>> is_pangram_fastest("The quick brown fox jumps over the la_y dog") |
| 70 | False |
| 71 | >>> is_pangram_fastest() |
| 72 | True |
| 73 | """ |
| 74 | return len({char for char in input_str.lower() if char.isalpha()}) == 26 |
| 75 | |
| 76 | |
| 77 | def benchmark() -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected