iter()
my_string = "Hello, world!" my_iterator = iter(my_string) # Iterate through the iterator and print each character for char in my_iterator: print(char)
H e l l o , w o r l d !