How To Implement While Loop In Python