[garbage][🐍 game]List has no attribute X (or Y)

class Snake:
    def __init__(self):
        self.step = 25
        self.vec = PVector(float((500>>1) + (self.step>>1)),float((500>>1) + (self.step>>1)))
        self.score = 0
        self.tail = []
        self.dir = "STOP"
 def Show(self):
        fill(255)     
        rect(self.vec.x,self.vec.y,25,25)
        fill(255,0,0)
        textSize(20)
        text(self.score,self.vec.x-6.25,self.vec.y+6.25)
        fill(0)    
        for i in range(0,len(self.tail)):
            rect(self.tail[i].x,self.tail[i].y,22,22)                    

This should be the code when i got this error