My ESP, CRYSTAL BALL and PSYCHIC are not working either. That means you are going to have to post the model and serial numbers for your unit before anyone can help you out.
We are not here to beat up on people, but everyone needs understand that without the machine and engine label information we are just going in circles and guessing. Personally, I hate to guess.
Parts Tree shows and entire tank, but no separate pump and sender unit:
Find genuine OEM replacement parts and diagrams for the Fuel Assembly for the Exmark LZE751GKA604C1 - Exmark 60" Lazer Z E-Series Zero-Turn Mower, Kawasaki FX (SN: 400000000 - 402082299) (2017)
is on fuel tank assembly page. $180 - $225 depending where purchased from. Better make sure a mouse did not chew a wire. Looking at the pictorial, be pretty hard to not see the top and wires coming out of the top of the fuel tank. Also, when these type things go bad it is almost a sure thing that there is moisture in the tank. Better deal with that too.