pygame or blender for python beginner

I’ve used blender for a year. I have a good grasp on animation and modelling. I want to make a platform/fighter game and I understand that if I learn python and use code, I can create a more inventive/unique game. I have really basic knowledge of python (maths functions, lists, tuples but i dont understand functions completely or object oriented programming). Should I first learn python fully and play with pygame or should I learn python and use blender?