프로그래머스/기초

[프로그래머스] Lv.0 /정수 부분 (파이썬/Python)

junslee 2025. 3. 11. 18:32

1. 문제 설명

2. 풀이 과정 

정수 부분은 int()를 적용해서 반환하면 된다.

3. 코드

def solution(flo):
    return int(flo)