Software Design By Example Python Program