I keep getting the runtime warning about division. In the code below, I used the answer of a question from this forum and even imported warnings error from this.