This code was designed to do basic arithmetic, with an emphasis on constantly making sure the input is validated. It is responsive for the use of handling multiple numbers, but keep in mind it doesn't do BIDMAS, so a statement like 8 + 2 * 4 would carry out 8+2 = 10, then do 10*4 = 40, instead of 8 + (2*4) = 16.