a rewrite of the original attendance project in Python