items = {'item1': 'bill', 'item2': 'cows', 'item3': 'abcdef'}
choice = eval(input('Select your item: '))
if choice in items:
    the_choice = items[choice]
else:
    pass
Python 3: Get value of variable entered from user input