Python program to separate characters in a given string

string = ‘character’
list = []

for letter in string:
list.append(letter)

print(list)

1 Like

@nyalakondasriharsha1

Correct, keep it up.

string = “characters”;
print(“Individual characters from given string:”);
for i in range(0, len(string)):
print(string[i], end=" ");

Good , Correct answer. keep it up.

@amarjeetkumar1605

Correct, keep it up.