Postgresql While Loop Exit Python Program In Code Why Are Some Letters