from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants, Group, Player from django.db import models debug = True def logger (dict): '''takes a dict that contains a name, var, role, group id formats them and prints them to the console''' if debug == True: print('The value of_', dict['name'], '_is', dict['var'], '_for the player whose role is_', dict['role'], '_and who is in group_', dict['group_id'] ) else: print('')