DEV Community

Discussion on: Am I wrong with the coding porting Javascript to Python

Collapse
valxntine profile image
Val

I'm not at a machine so I can't test anything right now, but Pythons range() function stops BEFORE the ending number, is this an off-by-one mistake?

Collapse
subhanshuja profile image
Subhan Nooriansyah Author

yup, that rights