Skip to content

Commit 45a8ef1

Browse files
Add string
A library for accessing different categories of string in python
1 parent aa0d217 commit 45a8ef1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

_string.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import string
2+
3+
4+
print("Lowercase Letters: ", string.ascii_lowercase)
5+
print("Uppercase Letters: ", string.ascii_uppercase)
6+
print("Whole Letters: ", string.ascii_letters)
7+
print("Digits: ", string.digits)
8+
print("Punctuations: ", string.punctuation)

0 commit comments

Comments
 (0)