Change
self.giraffe_spots = spots

to
self.spots = spots

Since you only supplied a tip of the iceburg, I must do so in kind.
Bob