Elementary | Middle
Middle | High
AI
Use Cases
Teaching
Tools
Explore our languages
Start a new project
Open a blank sandbox in any language.
Company
Community
Explore
Click on one of our programs below to get started coding in the sandbox!
View All
A logic error where a loop or calculation is off by exactly one, such as a loop that repeats one time too many or one time too few. Off-by-one errors often come from using the wrong boundary in range() or the wrong comparison operator.