Problem with rotating a two-dimensional array in python

join shbcf.ru