the drawstatus(function is responsible for rendering the text for the --score:|and --level:|information that appears in the upper right of the corner of the screen drawing piece on the board or elsewhere on the screen def drawpiece(piecepixelx=nonepixely=none) shapetodraw shapes[piece['shape']][piece['rotation'] if pixelx =none and pixely =none if pixelx pixely hasn' been specifieduse the location stored in the piece data structure pixelxpixely converttopixelcoords(piece[' ']piece[' '] draw each of the blocks that make up the piece for in range(templatewidth) for in range(templateheight) if shapetodraw[ ][ !blank drawbox(nonenonepiece['color']pixelx ( boxsize)pixely ( boxsize)the drawpiece(function will draw the boxes of piece according to the piece data structure that is passed to it this function will be used to draw the falling piece and the --next|piece since the piece data structure will contain all of the shapepositionrotationand color informationnothing else besides the piece data structure needs to be passed to the function howeverthe --next|piece is not drawn on the board in this casewe ignore the position information stored inside the piece data structure and instead let the caller of the drawpiece(function pass in arguments for the optional pixelx and pixely parameters to specify where exactly on the window the piece should be drawn if no pixelx and pixely arguments are passed inthen lines and will overwrite those variables with the return values of converttopixelcoords(call the nested for loops on line and will then call drawbox(for each box of the piece that needs to be drawn drawing the "nextpiece def drawnextpiece(piece) draw the "nexttext nextsurf basicfont render('next:'truetextcolor nextrect nextsurf get_rect( nextrect topleft (windowwidth displaysurf blit(nextsurfnextrect draw the "nextpiece drawpiece(piecepixelx=windowwidth- pixely=