which one is better if I want to do mild games like csgo and fortnite pubg , and mainly amateur programming

Solution
They are both low end systems, may be OK for CSGO but too slow for Fortnite or PUBG. Really not a lot of difference between them for programming.