code: def apply(self):
          
          user_type = self.rb_choice.get()
          if user_type == 'student' or user_type == 'tutor':
              self.result = user_type
docs: Inherited from tkinter.simpledialog.Dialog