Ascendeum interview question

Write a python code to print spiral matrix