I am going to buy a laptop for myself and i will be using it for my studies/gaming and also i would be learning coding and photoshop.... Currently i have this laptop in my mind- http
/h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c04031379
I would be upgrading its ram to 8gb.
Also I have this laptop in my mind-http
/www.buyingiq.com/Asus-X550LC-XX160D-Laptop-4th-Gen-Ci7-8GB-1TB-DOS-2GB-Graphics-66666
Now which one is better for gaming, I am really confused- One has a better cpu, the other has a better gpu. Any help would be greatly appreciated!

I would be upgrading its ram to 8gb.
Also I have this laptop in my mind-http

Now which one is better for gaming, I am really confused- One has a better cpu, the other has a better gpu. Any help would be greatly appreciated!