Sometimes due to some particularities in the code, a code runs perfectly most of the time, but at times, it gives you an error. Reason might be the dependence on some randomly generated number or something else. See our video to learn how to work your way around it and make sure that you never get an error on that code.