結果 : how to traverse through a string in python