generated from mwc/lab_iteration
e8b85fd9a20050928066f8e8df747407aca98534
If we wanted to print up to and including the maximum value, should it fall appropriately into the range (maximum = 100, for example, we might want to print 0,2,4,...,96,98,100) we could make the max value in the range() function "maximum + 1" to make the endpoint sort of pseudo-inclusive of that new target value. It's not so much an uncertainty about ranges, but I always seem to run into an indexing problem when utilizing ranges in a loop to iterate through a string or list or some array. I know I'm probably going to have the problem, I try to plan around it, I still end up with the problem, so I at least know where the issue lies when I have the inevitable error message.
Description
No description provided
Languages
Python
100%