Update Perfect.py

Glitch fix