Hello! You can find all of these 'symbols' as predefined strings in string module.
import string
print(string.puntualtion)
print(string.ascii_letters)
print(string.digits)
Output:
'!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
'0123456789'
These are from the first 128 or as they are called ascii symbols. The extended ascii includes even more. There are utf-8, utf-16, utf-32 and bunch of regional country codes. So, for simple tasks as your ascii works but if you have to expand the boundaries of a concept to include the rest it becomes a "bit" messy.