This is a homework problem, and I know we aren't supposed to post about these kind of questions, but I have all the code written out except for I am not getting the output file as expected.
This code works and everything but the txt file I am getting is just a jumbled mess that I can't make sense of.
I expect this code to write to a file and output each division name followed by the 4 numbers I enter that correspond to the division.
Instead the output file I get reads:
8þa Õ¢îo°Ýðo 8þa Õ¢îo°Ýðo 8þa Õ¢îo°Ýðo 8þa Õ¢îo°Ýðo þa North þa North þa North þa North hðo West hðo West hðo West hðo West ðo ðoz'ïoEast ðo ðo ðoz'ïoEast ðo ðo ðoz'ïoEast ðo ðo ðoz'ïoEast ðo