Depending on the size of your lawn....
Our electric (corder) flymo released the magic smoke a couple of months ago - much to my relief.
It was 18 months old but I wouldn't have wanted a replacement.
My house is a newbuild with 10x8m back garden, all grass. It is sloped, uneven and rubbish. The flymo was a real pain in the back as it wouldn't hover on the uneven surface and was therefore very heavy to push along the slope. It also filled the grassbox very quickly. We also have a small lawn out front, which isn't a big deal, being smaller and flatter.
After a little research I bought one of these:
https://easylawnmowing.co.uk/cobra-m40spc-review/I was sceptical as I've never heard of them before but it's working really well and has a two year warranty. It pulls itself up a decent slope with no problem and it clears the back lawn with only one grassbox change even when the grass is getting a couple of inches lopped off.
It's nothing flash, but I'm pleased.