Mastering Technical Interviews: The Unique Characters Problem
Valeria Rozenbaum
54

You could also use a set to detect duplicate letters. A simpler solution would thus be:

def are_letters_unique(input_string):
return len(set(input_string)) == len(input_string)