I’m not sure what kind of answer you expect. Apparently paddle class doesn’t have screen attribute. Should it have it? If yes, then it should be added, if not, then some other code should be changed to not expect it.
Firstly, you need to describe the problem in detail that you are facing. Also, try to add what you want to achieve. It helps us to understand the problem better.
As for your problem, you need to import Screen and add the screen attribute to your code end of the class.
screen = Screen()
screen.exitonclick()
Here is an example code that might help you to understand your problem. Cause I’m not sure what you want to achieve.