123def is_letter(character): return character in 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
I noticed this function would loop from a-Z so we should speed that up using a set!
F
Continue reading