나의 답 : def solution(new_id): new_id = new_id.lower() for i in new_id: if i in '~!@#$%^&*()=+[{]}:?,/': new_id = new_id.replace(i,'') while('..' in new_id): new_id = new_id.replace('..','.') l=len(new_id) if(l>0): if(new_id[0]=='.'): new_id=new_id[1:] l=len(new_id) if(l>0): if(new_id[l-1]=='.'): new_id=new_id[:-1] if(len(new_id) == 0): new_id='a' if(len(new_id)>=16): new_id = new_id[:15] if(new_i..