본문 바로가기

한 글자만 다른 단어 검색하기

@정소민fan2023. 6. 11. 23:50

https://github.com/AllenDowney/ThinkPython2/blob/master/code/words.txt

 

GitHub - AllenDowney/ThinkPython2: LaTeX source and supporting code for Think Python, 2nd edition, by Allen Downey.

LaTeX source and supporting code for Think Python, 2nd edition, by Allen Downey. - GitHub - AllenDowney/ThinkPython2: LaTeX source and supporting code for Think Python, 2nd edition, by Allen Downey.

github.com

위 링크에서 words.txt를 다운받고 같은 폴더 내에 위치시킨다

한 글자만 다른 단어를 검색하는 방법은 리스트의 단어와 검색할 단어를 한 글자씩 '*'로 치환시키고 비교하는 것이다

 

정소민fan
@정소민fan :: 코딩은 관성이야

코딩은 관성적으로 해야합니다 즐거운 코딩 되세요

목차