Looks like you are using python3 There is another thread mentioning that the built-in round() in python3 does not work as expected.
It rounds the number to the nearest even. so round(0.5) = 0 and round(1.5) = 2 -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-code+unsubscr...@googlegroups.com. To post to this group, send email to google-code@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/8402a730-b7ba-45c3-ae2f-3ed48cfe42ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.