How To Use While Loop With String In Python