programmers | Lv1.서울에서 김서방 찾기 [Python]

yeonk·2022년 2월 10일
0

algorithm

목록 보기
10/88
post-thumbnail

💡 Python 3






🔗 문제

서울에서 김서방 찾기 [Link]






💻 코드

def solution(seoul):
    index_x = seoul.index('Kim')
    return f'김서방은 {index_x}에 있다'

0개의 댓글