петля через струны

string_name = "geeksforgeeks"

#iterate over the string 
for element in string_name:
	print(element, end= ' ')
print("\n")

string_name = "GEEKS"

for element in range(0, len(string_name)):
	print(string_name[element])
Khai Cin