You must check again whether what you're running is actually what you wrote.
You should make a double check about the green "run" button in the Pycharm IDE. Sometimes, Clicking this button will run another project you wrote directly, instead of the pygame project you wrote.