Leaf's are charming little around-the-city cars. Range and battery health are iffy, but the warranty is good.
I wouldn't pay $40k for one new with a Model 3 SR near to the same price. But I did grab a 4 year old one for my daughter for $15k, and then the assorted EV rebates... at that price...