def alpha_shard(word):
 if (word[0] in 'abcdef'):
  return 'server0'
 elif (word[0] in 'ghijklm'):
  return 'server1'
 elif (word[0] in 'nopqrs'):
  return 'server2'
 else:
  return 'server3'

def alpha_shard ( word ) : if ( word [ 0 ] in 'abcdef' ) : return 'server0' elif ( word [ 0 ] in 'ghijklm' ) : return 'server1' elif ( word [ 0 ] in 'nopqrs' ) : return 'server2' else : return 'server3'
do a poor job of assigning data to servers by using first letters .