Python How To Find This Turning Point Stack Overflow

Python How To Find This Turning Point Stack Overflow