結果 : how to do grid in python