def name_handling(prompt=''):
    """ Ask the user for input
    :param prompt:
    :return:
        name_item: a category
    """
    cF = True
    while cF:
        try:
            name_item = input(prompt)
            assert (name_item.isalpha()), 'Assume valid input'
            return name_item
        except AssertionError:
            print('The input is not valid!')
            continue