Python/프로그래머스
서울에서 김서방 찾기
sophia02
2022. 7. 29. 19:45
def solution(seoul):
for i in range(len(seoul)):
if seoul[i] == "Kim":
answer = "김서방은 "+str(i)+"에 있다"
return answer