Exclusive Video

YG Donates $150k to Girl Code LA ... 'I Respect the G Code!!!'

YG's putting his money where his mouth is -- he wants young girls of diverse backgrounds to have opportunities in the tech world, and he's writing a $150k check to make it happen.

The Compton rapper delivered the check to Girl Code LA on Wednesday ... a move inspired by his little girl. Girl Code is an L.A.-based organization -- founded by Dez White -- pushing to develop and expose young women to computer science, business and software engineering.

YG tells TMZ, "With my donation, I hope they'll be able to expand their reach of future female coders and programmers. I want to make sure I'm doing my part. I got a daughter and I respect the G Code."

He also made sure the current slate of young and bright G girls walked away with more than just a smile -- he gifted all the young coders with new "Beats by Dre" headphones. Come up!!

He also chatted with them about the importance of exploring nontraditional career paths.

YG for the win!!!

Click here for info about our online advertising practices.