Itewrate Through A String In Python