Python Why Am I Getting This Error Local Variable Text Referenced

Python Why Am I Getting This Error Local Variable Text Referenced