<div class="degree-box">
    <div class="degree-box__content">
        {% for score in scores %}
            <div class="degree-box__content__value">
                <div class="degree-box__content__value__number">{{ score.group_avg|floatformat:2 }}
                </div>
                <div class="degree-box__content__value__title">{{ score.group_name }}
                </div>
            </div>
        {% endfor %}
        <div class="degree-box__content__average ">
            <div class="degree-box__content__average__number">{{ average|floatformat:2 }}
            </div>
            <div class="degree-box__content__average__title">Średnia
            </div>
        </div>
    </div>
</div>
