string_name = "geeksforgeeks" #iterate over the string for element in string_name: print(element, end= ' ') print(" ") string_name = "GEEKS" for element in range(0, len(string_name)): print(string_name[element])