string.letters is deprecated and removed in newer python