Looks like it has nothing to to with the range function. I checked for python2 and python3 and the behaviour is the same.
Looks like it has nothing to to with the range function. I checked for python2 and python3 and the behaviour is the same.