Honestly you should attempt to assemble one yourself; maximizes output for cash spent.
Ssd is a must, and while there are certain best practices for caring for the Ssd, don’t worry about them. I’ve got a 6 year old Ssd that I have simply abused, done the opposite of what’s recommended and it hasn’t been a problem at all. All that “don’t max out the storage, don’t power down while this or that”… It’s for the last 2% of performance you’ll never notice you lost
8 gigs ram is a must as others mentioned.
But build it yourself - it’s simple, just snapping components together. Watch 15 minutes of YouTube how to on the topic and yer ready.
Hardest part will be pickin the components, but this is made easy by going to pcpartpicker.com
There you will find completed builds based on criteria with a budget limitation. Then you can either duplicate their build entirely or change the pieces to suit your needs.
Buying a $400 pre-built computer is like buying a Chinese flashlight… And then not modifying it. And then attempting to depend on it.
At that point I’d go for a good used model