for loop i string python code example Example: python for loop for item in ['mosh','john','sarah']: print(item)