Hi I'm getting different results on my local machine than I am on Codewars, for a particular kata: https://www.codewars.com/kata/6-by-6-skyscrapers/train/python. I'm using Python 3.5.2, and Codewars is using 3.4.3. The first error I'm getting is an IndexError: List index out of range. This doesn't happen on my machine. And secondly, one of the examples solves on my machine but fails on Codewars. Tried re-pasting the code into Codewars about 10 times. Any help would be much appreciated.
Hi, thanks. My code is like 380 lines long, so can't post it here. But I found the problem actually. A global variable was being initialised to a funny value on Codewars, but not on my machine. I found it by putting in exception catching code in the routine where I was having the index error - and printing out some values.