s=input("Enter a string: ")
List=list(s)
M=[]
for j in range(len(List)):
min=List[0]
for i in range(len(List)):
if List[i]<min:
min=List[i]
List.remove(min)
M.append(min)
answer="".join(M)
print(answer)
아니 왜 쌍욕을 박아 ㅡㅡ
아니 왜 쌍욕을 박아 ㅡㅡ
디시같은 익명갤러리에서 개념인 찾기는 힘드렁
s=input("Enter a string: ") List=list(s) print(List.sort() or "".join(List))