How To Loop Through A String Python