Python PONG Tutorial

I’m new to the forums, and new to coding. If I’m posting this in the wrong forum, or if my question has been answered 1000 times before please point me in the right direction.

As a newb I dove right into the freeCodeCamp Pong tutorial, and it was a great success. Since experimentation can lead to learning I wanted to start playing with the code. Essentially I wanted to move the paddle towards the center every time the score between the two players was greater than 2. Exact amount unknown, as I was going to fiddle with it.
I tried doing :

Paddle moves

`if score_a() >=1:`
    `paddle_a.goto(-300, 0)`

And apparently I can call the score_a because it’s an integer.

I tried fiddling with making a counter that was referenced but that was also an integer, so I’m not sure where to go from here.

The code I pasted isn’t in the tutorial, I was trying to add to it - with something different. The tutorial is here: