I used to have a Dell Inspiron N4010 as my main PC and I recommend it for a affordable PC that can be upgraded
(Warning: a SSD would be preferable and, a external fan is required to have it last longer and, expect to get 4 solid years with it!!)
It does have some issues (cheap frame, cheap...