- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPangram.py
More file actions
Latest commit
17 lines (14 loc) · 479 Bytes
/
Copy pathPangram.py
File metadata and controls
17 lines (14 loc) · 479 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#author: Vijesh.V @FreakoutGames
#Program to check if a sentence is pangram or not
alpha= ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
defis_pangram(sentence):
index=0
forcharinalpha:
x=charinsentence.lower()
ifx==True:
index=index+1
ifindex==26:
returnTrue
else:
returnFalse
print(is_pangram("the quick brown fox jumps over the "))