Check out example codes for "how to tell if you got pygAME". It will help you in understanding the concepts better.

Code Example 1

pygame.version.ver

Code Example 2

pip freeze | grep <pack_name>

Learn ReactJs, React Native from akashmittal.com