프로그래머스. 서울에서 김서방 찾기 파이썬 풀이

minan·2021년 6월 24일
0

프로그래머스

목록 보기
51/92

프로그래머스. 연습문제. Level 1. 서울에서 김서방 찾기 파이썬 풀이

문제링크 https://programmers.co.kr/learn/courses/30/lessons/12919

깔끔한 한줄컷

def solution(seoul):
    
    return "김서방은 " + str(seoul.index("Kim")) + "에 있다"
profile
https://github.com/minhaaan

0개의 댓글