Jan-15-2018, 11:24 AM
(This post was last modified: Jan-15-2018, 11:24 AM by gruntfutuk.)
(Jan-15-2018, 10:50 AM)Wilson1218 Wrote: This is perfect, if it works. So I would enter "per",count,yeild1,yeild2 for example?Yes.
I strongly recommend you try this out in the interactive shell first and make sure you understand it. Print out the id of each list your create,
print(id(alistvar))
including the list in the function.PS. It does work. I rewrote your code in just a few lines, and tested it.
I am trying to help you, really, even if it doesn't always seem that way