Perfect Square Function In Python Geeks