would prefer syntax:
iterations = 2000 if self.is_teacher else 1000