At this point, `avg_sum` should certainly already be a float, so I think you can just write `avg_sum / 100` here.