ref = raw_input('please enter reference number : ')
tint = input('enter the number of items: ')
total = input('Enter the required total : ')
i = 1
id = []
amounts = []
while i <= tint :
print 'Enter item : ' ,
tempID = [raw_input()]
id.append(tempID)
print 'Enter amount: ',
value = [raw_input()]
amounts.append(value)
i = i +1
#now i want to get the sum of amounts divide by 100 and times it by total#
#and place back into another list.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.