Several years ago, I joined a workout group. We meet several times a week in our coach’s unpaved driveway. We pick up and drop heavy things and run around trying to keep Death at bay for another day. I’m no paragon of strength and fitness, but it’s been a nice way to exercise and visit with friends. One of my favorite parts of going is that our coach will write a “Workout of the Day” or “WOD” on the board. Whatever it says is what I do. It doesn’t matter if I actually want to do 200 push-ups that day, I just get them done no matter how long it takes.1 |
![]() |
In that spirit, we’ll write a program called wod.py to help us create a random daily workout that we have to do, no questions asked:
$ ./wod.py Exercise Reps ------------------ ------ Pushups 40 Plank 38 Situps 99 Hand-stand pushups 5