@kirby
len(words)-1 🫣
@kirby
I mean indices start with zero, but length of array that only has element with index 0 is still 1.
@roboneko
Honestly, dunno. People writing in Python always throw new shit at me, I'm pretty sure, this randint thing is decades old already, but I still live in the days when you had to multiple, round down and convert to integer yourself 🤪
Good documentation is the strong side of Python, very thorough, with great examples, usually mentioning all the caveats. Although I've seen some weird shit about asynchronous stuff in 3.10 docs, they are changing things too often now 🤷
@kirby