結果 : how to do a grid in python