<prompt> Kuandika kazi Python kuonyesha chessboard katika GUI screen.  <response>: Here is a sample Python code for creating a simple GUI that displays a chessboard:import tkinter as tkdef create_chessboard: Create main window to display the board window tk.Tk window.titleChessboard square_size 60 size of each square on the board width 8 square_size total width of board height 8 square_size total height of board Create canvas to draw on canvas tk.Canvaswindow, widthwidth, heightheight canvas.pack Draw the squares on the canvas for row in range8: for col in range8: x1 col square_size y1 row square_size x2 x1 square_size y2 y1 square_size color white if row col 2 0 else black canvas.create_rectanglex1, y1, x2, y2, fillcolor Display the window window.mainloopcreate_chessboardThis code uses the tkinter module to create a window and a canvas where the chessboard is drawn. It then iterates over each square on the board, determines its color based on its position, and draws a rectangle on the canvas with the appropriate color. Finally, the window is displayed using the mainloop method. 