A Shopping List in Python

A Shopping List in Python

# Shoppinglist.py
# Copyright Serda Simus
# Can be used by anyone with proper credit.

def get_range():
    try:
        # make a list to hold our items
        shopping_list = []
        while True:
            # ask for new items
            user_new_entry = input("Add a new item: ")
            # be able to quit the app
            if user_new_entry != "DONE":
                # add new items to our list
                shopping_list.append(str(user_new_entry))
            else:
                return shopping_list
    except ValueError:
        print("Sorry, we have found an error!")

def lets_start():
    start_decision = str(input())
    if start_decision == "yes" or start_decision == "Yes" or start_decision == "Y":
        return start_decision
    elif start_decision == "no" or start_decision == "No" or start_decision == "N":
        print(" Okay, see you next time")
        return start_decision
    else:
        print("We found an error. Please ask developer:")
# print out instructions on how to use the app
print('Welcome to your shopping list:')
print('You can add new products to the list, 1 item at a time')
print("Would you like to add something new to your list? \n Please answer yes or no.:")
if lets_start() == "yes" or lets_start()  == "Yes" or lets_start() == "Y":
    printed_list = [" "]
    printed_list = get_range()
    show_message = "your new list: \n"
    # print out the list, once quit.
    print(show_message)
    for item in printed_list:
        print(printed_list.index(item)+1, item )
else:
    print("List unchanged:")
    print(printed_list)