How To Iterate Through A String In Python