Daftar alfanumerik terpisah

### START FUNCTION
def create_dictionary(character_list):
    dictionary={'numbers':[],'uppercase':[],'lowercase':[]}
    for character in character_list:
        try:
            int(character)
            dictionary['numbers'].append(character)
        except:
            if character.isupper():
                dictionary['uppercase'].append(character)
            elif character.islower():
                dictionary['lowercase'].append(character)
    for item in dictionary:
        dictionary[item].sort()
    return dictionary
### END FUNCTION
Africodes