File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Created by sarathkaul on 12/11/19
2
2
3
3
4
- def check_panagram (
4
+ def check_pangram (
5
5
input_str : str = "The quick brown fox jumps over the lazy dog" ,
6
6
) -> bool :
7
7
"""
8
- A Panagram String contains all the alphabets at least once.
9
- >>> check_panagram ("The quick brown fox jumps over the lazy dog")
8
+ A Pangram String contains all the alphabets at least once.
9
+ >>> check_pangram ("The quick brown fox jumps over the lazy dog")
10
10
True
11
- >>> check_panagram ("My name is Unknown")
11
+ >>> check_pangram ("My name is Unknown")
12
12
False
13
- >>> check_panagram ("The quick brown fox jumps over the la_y dog")
13
+ >>> check_pangram ("The quick brown fox jumps over the la_y dog")
14
14
False
15
15
"""
16
16
frequency = set ()
@@ -26,5 +26,5 @@ def check_panagram(
26
26
27
27
if __name__ == "main" :
28
28
check_str = "INPUT STRING"
29
- status = check_panagram (check_str )
30
- print (f"{ check_str } is { 'not ' if status else '' } a panagram string" )
29
+ status = check_pangram (check_str )
30
+ print (f"{ check_str } is { 'not ' if status else '' } a pangram string" )
You can’t perform that action at this time.
0 commit comments