# Date 06-04-2023 coding question

l = []
s = “good morning”
j = “”
for i in s:
if i not in l:
l.append(i)
else:
j+=i
print(j)

1 Like

@sriv.ansh

It’s partially correct.
Try a bit more

1 Like