Counting

We'll cover the following...

One of the most common bugs in computer programming is an off-by-one error. Oftentimes, we end up writing programs that do either one too many, or one too few times. Let’s see if you can predict the output of this program:

Press + to interact
fn main() {
let mut i = 1;
while i < 10 {
println!("i == {}", i);
i += 1;
}
}

It kind ...