Ignoring zero division error <p>I'm writing a program that reads integer values from an input file, divides the numbers, then writes percentages to an output file. Some of the values that my program may be zero, and bring up a 0/0 or 4/0 occasion. </p> <p>From here, I get a Zerodivisionerror, is there a way to ignore this error so that it simply prints 0%??</p> <p>Thanks. </p>