Take out the spark plug and spray carb cleaner or gas down the plug hole, put the plug back in.
If it fires, and dies fuel problem, no fire then no spark.
Check with spark tester to see what cylinder has no spark if twin cylinder Provided plugs good and no obvious wire disconnections , fuses blown , flywheel timing sensor coupler, wires, check for fuel supply to both cylinders check for error code po 351 or po352 this is coil fault replace faulty coil as indicated
Check out www.kohlerengines.com
Follow instructions , down load service manual for ech740-3031 it has full details , fault codes and trouble shooting , cheers hope it helps