this repository teaches the basics of python, gives tips on pygame and turtle, has a variety of games I coded, and teaches error handling. It also includes some math ...
I have checked these short code snippets on various python IDEs and versions. Please check that the code runs on your IDE / version before using with your classes ...