you can also create string with the str(function str( output' str('shri'output'shri traversal and the for loopby item lot of computations involve processing collection one item at time for strings this means that we would like to process one character at time often we start at the beginningselect each character in turndo something to itand continue until the end this pattern of processing is called traversal we have previously seen that the for statement can iterate over the items of sequence ( list of names in the case belowfor aname in ["joe""amy""brad""angelina""zuki""thandi""paris"]invitation "hi aname please come to my party on saturday!print(invitationrecall that the loop variable takes on each value in the sequence of names the body is performed once for each name the same was true for the sequence of integers created by the range function for avalue in range( )print(avaluesince string is simply sequence of charactersthe for loop iterates over each character automatically for achar in "go spot go"print(achar