# \r : 커서를 맨 앞으로 이동하고 \r 다음에 나오는 글만큼 대체한다.
print('red apple\rpine') # pineapple. red 와 띄어쓰기 한칸이 pine 으로 대체 되었다.
# \b : 백스페이스 한 글자 삭제
print('appp\ble') # apple.
# \t : 탭
print('red\tapple') # red apple
조건
1. https:// 제거
2. 처음 만나는 . 이후 제거
3. 남은 글자중 처음 3자리 + 남은 글자 개수 + 남은 글자 내 'e' 개수 + '!'
site = '<https://naver.com>'
_str = site.replace('https://', '');
_str = _str[:_str.index('.')]
count = len(_str);
countE = _str.count('e')
password = f"{_str}{count}{countE}!".format(_str, count, countE);
# password = _str[:3] + str(len(_str)) + str(_str.count('e')) + "!";
print(password)