one-second
one-second copied to clipboard
The use of range/xrange is confusing
Not sure if it really matters but it might fit huge numbers : both range and xrange are used making things a bit confusing. Is there any particular reason for this?
Unlikely!
(It's also unlikely it makes a huge difference, but things would be better if they were consistent.)
(I will check if it makes a difference though!)
I found this in 2023 and the use of xrange
seemed archaic. I thought that you were just trying to emphasize the point that it isn't creating a list and then iterating over it (as Python 2 range
did).