first round of bob python exercise.