ION Group interview question

Python patter diamond cut frame.