[프로그래머스] 서울에서 김서방 찾기Lv.1
def solution(seoul): return "".join([f"김서방은 {i}에 있다" for i in range(len(seoul)) if seoul[i] == "Kim"])