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()
You need to check the equality of each scores:
if ball.score2 == 50 or ball.score == 50: EndGame()