Re: Adding to a List and displaying quantity in the list

2012-07-10 Thread Shamefaced
else: > print("%8.3f %s: Waited too long %6.3f" % (now()/60, self.name, > wait) + " time units have passed - Customer has left") > leavelist.append(self.acquired) Yeah, I should have changed that back to : leavelist.append(self.name) -- my thinking was that it would app

Re: Adding to a List and displaying quantity in the list

2012-07-10 Thread John Gordon
In Shamefaced writes: > else: > print("%8.3f %s: Waited too long %6.3f" % (now()/60, self.name, > wait) + " time units have passed - Customer has left") > leavelist.append(self.acquired) What is self.acquired? Judging from earlier code it appears to be a funct

Adding to a List and displaying quantity in the list

2012-07-10 Thread Shamefaced
Hi I have coded a program whihc outputs what I like, but I am trying to modify it to add specific result info to a list and then display the number of items in the list. This is easy for me with basic code, but seems difficult when trying to adapt my program. My code and explanation is as follow