A small change I would make is have your coin flip count start at 1, because it's only at 0 before you run the while loop. You can see it prints out that you've done 0 coin flips after your first coin flip, and ends at 4 flips when it's really been 5.
@khanacademy2 ай бұрын
It all depends on where you print the number of coin flips in the loop! If we moved the print statement until after the line `num_flips = num_flips + 1`, then we would see that the number of flips is 1 at the end of the first loop iteration.