I am trying to make a game, but I have run into a roadblock I cannot figure out. this is the part of my code that I am failing to understand
from random import randint
apple = (0, 0)
def placeApple():
apple = (randint(0, 19), randint(0, 19))
fillCell(apple[0] * 20, apple[1] * 20, appleColor)
print(apple)
I feel like this should change apple to a point with a random integer 0 through 19 but when I call print(apple) in the console I always get (0, 0)