day3
방법
# 방법1
def get_len_of_str(text):
temp = []
for i in range(len(text)):
list_a =[]
for j in text[i:]:
if j in list_a:
break
else:
list_a.append(j)
temp.append(list_a)
count = 0
for i in temp:
if len(i) > count:
count = len(i)
return count
text ="abcabcabc"
result = get_len_of_str(text)
print(result)