Adding to a List and displaying quantity in the list

Shamefaced manengstudent at gmail.com
Tue Jul 10 22:51:20 CEST 2012


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 append the name of each item to the list.? 



More information about the Python-list mailing list