from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class new_step(Page): pass class Results(Page): def vars_for_template(self): self.player.total_thune() class Results_2(Page): pass class Results_final(Page): def vars_for_template(self): print(self.participant.vars['paiement_self_exley']) print(self.participant.vars['paiement_self_exley_2']) print(self.participant.vars['ENDOWMENT']) print(self.participant.vars['TOTAL_PAIEMENT_SELF']) page_sequence = [new_step, Results, Results_2, Results_final]