While Loop Through String Python Center