Jul-20-2017, 08:57 PM
So here's the skinny. I am new to python, I'm new to JavaScript. I've been writing bash scripts for a while now. So I have some knowledge but not where it needs to be to do what I want. So I'll state my question, but I'd prefer tips, what to read, where to find examples, or example codes. I'd rather not get an answer that is the full code of what I'm wanting to do. That discourages learning.
I'm trying to create a list and manipulate it through a function. So at work I have to assign tickets to a total of 8 guys. But I need an easy way to keep up with how many tickets each guy has been assigned. Not the ticket number, but just a "tally" mark for each ticket he has been assigned. I've been writing down there names and putting a tally mark each time I've assigned a ticket but that is tedious.
I'd like the code to keep up with this and when I run it, the code will tell me who is up next in line to have a ticket assigned to them. Not randomly. It needs to tell me who to assign it to by who has the least amount of tickets assigned to them. I'm not 100% sure how to go about this. Any help would be appreciated.
I'm trying to create a list and manipulate it through a function. So at work I have to assign tickets to a total of 8 guys. But I need an easy way to keep up with how many tickets each guy has been assigned. Not the ticket number, but just a "tally" mark for each ticket he has been assigned. I've been writing down there names and putting a tally mark each time I've assigned a ticket but that is tedious.
I'd like the code to keep up with this and when I run it, the code will tell me who is up next in line to have a ticket assigned to them. Not randomly. It needs to tell me who to assign it to by who has the least amount of tickets assigned to them. I'm not 100% sure how to go about this. Any help would be appreciated.