if statement in python not working with or and integers [duplicate] if statement in python not working with or and integers [duplicate] tkinter tkinter

if statement in python not working with or and integers [duplicate]


You need to check the equality of each scores:

if ball.score2 == 50 or ball.score == 50:    EndGame()