Python How I Short Out This Error Resource Exhausted Error Stack

Python How I Short Out This Error Resource Exhausted Error Stack