I'm working on building a snake clone using Turtle. Is there a cleaner/more pythonic way to write the conditional inside of this function?
def out_of_bounds(self, lst):
if lst.xcor() < -260 or lst.xcor() > 260 or lst.ycor() < -260 or lst.ycor() > 260:
return True