I've tested by printing each statement len(rateList) and sum(rateList) and both give the expected values.
Additionally, I have them casted to int in that example just because that is what I had currently tried doing to ensure it was indeed an int. I've done it without the casting as well to no avail.
|