I gave you an example.
Define the function, and just use it when you have to input some data.
Define the function, and just use it when you have to input some data.
items = [] if (option=="1"): print "we will now enter the information for this item" items.append(user_input())If that is not some school assignment consider to learning Python 3 instead of v2. The time is not going back