Question about ? and 1:0 (example)

I’ve used a code that makes a ball bounce around the screen and it uses the " ? " and the " : " in some of the lines and I’m wondering how they work and what they do since I don’t really understand and can’t find info about them.

_x>450-_width ? Xspeed *= -1 : 0

There’s an example. What does that do exactly?