title: value 'snake' doesn't support membership test python or python 3.6
body: <pre><code>from random import randint
  import turtle
  
  wn = turtle.Screen()
  
  if snake.xcor and snake.ycor == apple.xcor and apple.ycor:                             
      food = []
      Main_Score += 1
      pen.write("score:{}".format(Main_Score), align="center", font=("courier", 24, "normal"))
      while food == []:
          food = [randint(1, 18), randint(1, 58)]      
          if food in snake: food == []
      wn.addch(food[0], food[1], '*')
  </code></pre>
  
  <p>I have looked at some other questions and the  line <code>if food in snake: food == []</code> won't work because of value 'snake' doesn't support membership test</p>