How Can I Fix Attribute Error In Python Pygame Stack Overflow

How Can I Fix Attribute Error In Python Pygame Stack Overflow