I'm trying to build the snake game using python turtle module. I am stuck at this error:
AttributeError: '_Screen' object has no attribute 'mainloop'
As of now I've only set a screen and trying to test if that works.
#set up the screen
wn = turtle.Screen()