After trying out the code, I found that some numbers weren't working properly when entered. Realised that I had to the correct operator in there for it to work. I put in the right one, and tested out a few numbers, the logs were correct. FInished.