-
서울에서 김서방 찾기프로그래밍/알고리즘 2021. 3. 23. 15:13
나의 풀이
def solution(seoul): return "김서방은 " + str(seoul.index("Kim")) +"에 있다" seoul = ["Jane", "Kim"] solution(seoul)
728x90반응형LIST'프로그래밍 > 알고리즘' 카테고리의 다른 글
모의고사 (0) 2021.03.25 문자열 내 p와 y의 개수 (0) 2021.03.23 같은 숫자는 싫어 (0) 2021.03.23 가운데 글자 가져오기 (0) 2021.03.23 문자열 다루기 기본 (0) 2021.03.22