def breach(): breach = prg.Breach(deck["breach"]) breach.setSkillLvl(deck["breach"]) stmt, chk = breach.skillCheck() textBox.insert(END, stmt) if chk: textBox.insert(END, "You're in.") else: textBox.insert(END, "No dice.")