인프런 커뮤니티 질문&답변
문법오류
작성
·
192
0
url = "http://naver.com"
my_str = url.replace("http://", "")
my_str = my_str[:my_str.index(".")]
password = my_str[:3] + str(len(my_str)) + str(my_str.count("e")) + "!"
print("{0} 의 비밀번호는 {1} 입니다." .format(url, password))






해결했습니다! 댓글 달아주셔서 감사합니다