Python/[프로그래머스]
[Level 1] 서울에서 김서방 찾기
hyunnn_00
2024. 4. 19. 18:14
def solution(seoul):
for i in range(len(seoul)):
if seoul[i] == 'Kim':
return f'김서방은 {i}에 있다'