프로그래머스. 문자열을 정수로 바꾸기 파이썬 풀이

minan·2021년 6월 25일
0

프로그래머스

목록 보기
54/92

프로그래머스. 연습문제. Level 1. 문자열을 정수로 바꾸기 파이썬 풀이

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

그냥 int형으로 바꿔서 return하면 된다

def solution(s):
    
    return int(s)
profile
https://github.com/minhaaan

0개의 댓글