코딩테스트/Python

프로그래머스 스쿨 - 피자 나눠 먹기(3)(Python)

보안매크로 2023. 9. 30. 18:19
def solution(slice, n):
    answer = ((n-1) // slice) + 1
    return answer