You can use the built-in string module to write
string
>>> import string >>> digits = [_ for _ in string.digits] >>> digits ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] >>> letters = [_ for _ in string.ascii_lowercase] >>> letters ['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']
so that you don't have to type out these sort of lists by hand ;)
thankyou for the suggestion I will implement it in the script.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You can use the built-in
string
module to writeso that you don't have to type out these sort of lists by hand ;)
thankyou for the suggestion I will implement it in the script.