# Restricting attributes that can be set in Python

#### First posted on: 2020/01/02

A reader of my book “Doing Math with Python” wrote to me a few weeks back about a strange problem they were having. They were trying to create an animated projectile motion from the code listing in the book. However, they were not seeing the expected results. Worse, there were no errors. They figured the issue on their own eventually since I didn’t get the time to reply back and the issue was there was an attribute center on a class that was being set in the correct version. However, the reader was by mistake setting the centre. It’s easy to do that - American versus British English. Learn more here