Phones (especially Samsung Galaxy and iPhone) are used as fashion statements. Back where in my Serbian city fashion-conscious people ALWAYS buy Samsung because of the "luxury" look it gives them and the good cameras, even if the likes of Xiaomi or some older Samsung flagship are cheaper and way better. Also, there are some people (I.E. theater actresses, etc...) that sell their phones after 2 months and basically act as a supply source for used phone shops. Cheaper mid-range Samsung devices offer the "fashion" without breaking bank."Cheap" and "mid-range" don't go together. For cheap you get a bottom-line phone. For a mid-range phone, you pay a mid-range price.
But why does it have to be a Samsung? There are a few dozen other manufacturers of Android phones, many better buys than Samsungs. You can get a OnePlus 6 with 64GB of storage and 6GB of RAM and a Snapdragon 845 (quite a bit above mid-range) , for about $300, not much more than an A40, but a lot more phone. (An unlocked A10 is almost $200, and that's only 32GB storage and 2GB RAM [and a slower SoC].)
I would never recommend a budget Samsung phone.
What is your price range?
"Cheap" and "mid-range" don't go together. For cheap you get a bottom-line phone. For a mid-range phone, you pay a mid-range price.
But why does it have to be a Samsung? There are a few dozen other manufacturers of Android phones, many better buys than Samsungs. You can get a OnePlus 6 with 64GB of storage and 6GB of RAM and a Snapdragon 845 (quite a bit above mid-range) , for about $300, not much more than an A40, but a lot more phone. (An unlocked A10 is almost $200, and that's only 32GB storage and 2GB RAM [and a slower SoC].)
Around £200.
A40 is £220 here in the UK, an A10 is £140.
Not sure if it's in OP's budget but the A20 is good. I bought it for my girl's sister.