Personally, I initially practised my Python through making little ASCII art games. It taught me a lot about how to use variables, functions, that sort in neat ways. I remember that my first game involved turn-based battles, and you type things like "attack" or "magic" to use different moves. Making weird little games is always fun!
I never did learn how to use PyGame since I jumped from ASCII art python programs to games made with Godot (still make the occasional Python script though), but I hear it's great if you want to make graphical games!