pansa2
searching PlanetScale…
- 1.▲
- 2.▲
- 3.▲
- 4.▲
- 5.▲
- 6.▲
89 ms·
- 1051.▲
- 1052.▲
- 1053.▲
Yes! Reverse ranges in Python are awkward for this reason. The reverse of `range(0, 5)` (i.e. [0, 1, 2, 3, 4]) isn’t `range(5, 0, -1)`, it’s `range(4, -1, -1)`. I think it would be better if the end-points were “low” and “high” rather than - 1054.▲
- 1055.▲
- 1056.▲
- 1057.▲
- 1058.▲
- 1059.▲
- 1060.▲
- 1061.▲
- 1062.▲
- 1063.▲
- 1064.▲
- 1065.▲
- 1066.▲
- 1067.▲
- 1068.▲
- 1069.▲
- 1070.▲
- 1071.▲
- 1072.▲
- 1073.▲
- 1074.▲
- 1075.▲
- 1076.▲
- 1077.▲
- 1078.▲
- 1079.▲
- 1080.▲
More ›